diff options
author | Louis <6653109+artonge@users.noreply.github.com> | 2021-08-20 09:53:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-20 09:53:07 +0200 |
commit | 8be50456e5938f8b7c478adafc0f06c674cff9f3 (patch) | |
tree | 0c7863bbad988c5a885fbd82822319bc5d0c77c9 | |
parent | e0d632c342da98a2e6be601d737551216a985766 (diff) | |
parent | 2dc669c2ae9ab83ea26b19f502b289c1047eaabc (diff) | |
download | nextcloud-server-8be50456e5938f8b7c478adafc0f06c674cff9f3.tar.gz nextcloud-server-8be50456e5938f8b7c478adafc0f06c674cff9f3.zip |
Merge pull request #28518 from nextcloud/backport/28512/sable22
[stable22] Output exception in cron
-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; } |