diff options
author | Louis Chemineau <louis@chmn.me> | 2021-08-19 16:14:06 +0300 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2021-08-19 16:31:12 +0300 |
commit | 0f713ee2784cefd6e3820db2835c8aa1a4b65d0e (patch) | |
tree | 119e9a3e6b0ea83d10f6f807498a00b040b12b05 /cron.php | |
parent | 23055197571590e690d15f1d0dd3bd6ee3cf606e (diff) |
Output exception in cron
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -158,6 +158,8 @@ try { exit(); } catch (Exception $ex) { \OC::$server->getLogger()->logException($ex, ['app' => 'cron']); + echo $ex . PHP_EOL; } catch (Error $ex) { \OC::$server->getLogger()->logException($ex, ['app' => 'cron']); + echo $ex . PHP_EOL; } |