From: Mikael Nordfeldth Date: Fri, 26 Feb 2016 13:53:12 +0000 (+0100) Subject: Slightly more correct log message in index.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ba51a696d2be4bcc63182bda364719dde104bbee;p=quix0rs-gnu-social.git Slightly more correct log message in index.php --- 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...