summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis <6653109+artonge@users.noreply.github.com>2021-08-20 09:53:07 +0200
committerGitHub <noreply@github.com>2021-08-20 09:53:07 +0200
commit8be50456e5938f8b7c478adafc0f06c674cff9f3 (patch)
tree0c7863bbad988c5a885fbd82822319bc5d0c77c9
parente0d632c342da98a2e6be601d737551216a985766 (diff)
parent2dc669c2ae9ab83ea26b19f502b289c1047eaabc (diff)
downloadnextcloud-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.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/cron.php b/cron.php
index 815786ada53..40976c39f64 100644
--- a/cron.php
+++ b/cron.php
@@ -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;
}