Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2021-08-19 16:15:54 +0300
committerLouis Chemineau <louis@chmn.me>2021-08-19 16:31:52 +0300
commit2dc669c2ae9ab83ea26b19f502b289c1047eaabc (patch)
tree39729b1e29be81c120c5ded745d87ffa4e88a8ff /cron.php
parentf7d5bb5cb1469f1355442d6d7263d0f85cd8a05b (diff)
Output exception in cron
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'cron.php')
-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;
}