diff options
author | Louis Chemineau <louis@chmn.me> | 2021-08-19 15:15:11 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2021-08-19 15:31:29 +0200 |
commit | 4940787c1c5355eb5d3e6efdfa14958847150621 (patch) | |
tree | 446c8ae66901910b28a6fcfb9e7413ef944a2e05 /cron.php | |
parent | a53e2809b4672b19fffd6a661691e8a13b1e2af6 (diff) | |
download | nextcloud-server-4940787c1c5355eb5d3e6efdfa14958847150621.tar.gz nextcloud-server-4940787c1c5355eb5d3e6efdfa14958847150621.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,6 +159,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; } |