N°8772 - exceptions

This commit is contained in:
Eric Espie
2025-11-26 12:33:17 +01:00
parent 72c5cbfedf
commit 041ee2af95

View File

@@ -60,7 +60,7 @@ class ErrorPage extends NiceWebPage
$this->add('<div class="message message-valid">'.nl2br(Dict::S('UI:ErrorPage:KittyDisclaimer')).'</div>');
}
if (!is_null($oException)) {
$this->log_exception($sText, $oException);
$this->log_exception($oException->getMessage(), $oException);
return;
}
$this->log_error($sText);