Skip to content

Commit

Permalink
improve erreur message
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Sep 7, 2024
1 parent 383975f commit 9c1b0a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/class/log.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ public static function exception($e) {
if (self::getConfig('log::level') > 100) {
return $e->getMessage();
} else {
return print_r($e, true);
return $e->getMessage()."\n".$e->getTraceAsString();
}
}

Expand Down

0 comments on commit 9c1b0a2

Please sign in to comment.