From ba51a696d2be4bcc63182bda364719dde104bbee Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 26 Feb 2016 14:53:12 +0100 Subject: [PATCH] Slightly more correct log message in index.php --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index ecbfb3eb7b..eef894effc 100644 --- a/index.php +++ b/index.php @@ -93,9 +93,9 @@ function handleError($error) return; } - $logmsg = "PEAR error: " . $error->getMessage(); + $logmsg = "Exception thrown: " . _ve($error->getMessage()); if ($error instanceof PEAR_Exception && common_config('site', 'logdebug')) { - $logmsg .= " : ". $error->toText(); + $logmsg .= " PEAR: ". $error->toText(); } // DB queries often end up with a lot of newlines; merge to a single line // for easier grepability... -- 2.39.5