Kaynağa Gözat

Log full exception in cron instead of only the message

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
tags/v14.0.0beta1
Morris Jobke 6 yıl önce
ebeveyn
işleme
e70edb33db
No account linked to committer's email address
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2
    2
      cron.php

+ 2
- 2
cron.php Dosyayı Görüntüle

@@ -155,7 +155,7 @@ try {
exit();

} catch (Exception $ex) {
\OCP\Util::writeLog('cron', $ex->getMessage(), \OCP\Util::FATAL);
\OC::$server->getLogger()->logException($ex, ['app' => 'cron']);
} catch (Error $ex) {
\OCP\Util::writeLog('cron', $ex->getMessage(), \OCP\Util::FATAL);
\OC::$server->getLogger()->logException($ex, ['app' => 'cron']);
}

Loading…
İptal
Kaydet