Skip to content

Commit 0f713ee

Browse files
committed
Output exception in cron
Signed-off-by: Louis Chemineau <louis@chmn.me>
1 parent 2305519 commit 0f713ee

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cron.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@
158158
exit();
159159
} catch (Exception $ex) {
160160
\OC::$server->getLogger()->logException($ex, ['app' => 'cron']);
161+
echo $ex . PHP_EOL;
161162
} catch (Error $ex) {
162163
\OC::$server->getLogger()->logException($ex, ['app' => 'cron']);
164+
echo $ex . PHP_EOL;
163165
}

0 commit comments

Comments
 (0)