Skip to content

Commit ed5472d

Browse files
authored
Merge pull request #28517 from nextcloud/backport/28512/sable21
[stable21] Output exception in cron
2 parents 030ce1e + 4940787 commit ed5472d

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
@@ -159,6 +159,8 @@
159159
exit();
160160
} catch (Exception $ex) {
161161
\OC::$server->getLogger()->logException($ex, ['app' => 'cron']);
162+
echo $ex . PHP_EOL;
162163
} catch (Error $ex) {
163164
\OC::$server->getLogger()->logException($ex, ['app' => 'cron']);
165+
echo $ex . PHP_EOL;
164166
}

0 commit comments

Comments
 (0)