diff options
author | Louis Chemineau <louis@chmn.me> | 2021-08-19 12:40:55 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2021-08-19 12:40:55 +0200 |
commit | 6afab63e0978db2151a95ecfb691c058dbed6bb0 (patch) | |
tree | ac86e05624878ed113f1dc639e88091868cc1762 /cron.php | |
parent | 3dc7fd27f177993e4032c71789fac55e0af01880 (diff) | |
download | nextcloud-server-6afab63e0978db2151a95ecfb691c058dbed6bb0.tar.gz nextcloud-server-6afab63e0978db2151a95ecfb691c058dbed6bb0.zip |
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
@@ -159,8 +159,10 @@ try { exit(); } catch (Exception $ex) { \OC::$server->getLogger()->logException($ex, ['app' => 'cron']); + echo $ex . PHP_EOL; exit(1); } catch (Error $ex) { \OC::$server->getLogger()->logException($ex, ['app' => 'cron']); + echo $ex . PHP_EOL; exit(1); } |