From 8ee92ab3cdba7528d14c4bfaa9a3624017a71d36 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 19 May 2026 22:07:43 +0200 Subject: [PATCH] Better log message --- htdocs/core/lib/functions.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 37f6975fa42..8d3f6fff6a0 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -12516,7 +12516,7 @@ function dol_eval_standard($s, $hideerrors = 1, $onlysimplestring = '1') $tmpo = ob_get_clean(); $isObBufferActive = false; } - $error = 'dol_eval try/catch error : '; + $error = 'dol_eval try/catch error for string: ' . $s . ' - Error: '; $error .= $e->getMessage(); dol_syslog($error, LOG_WARNING); return 'Exception during evaluation: ' . $s;