]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Slightly more correct log message in index.php
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 26 Feb 2016 13:53:12 +0000 (14:53 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 26 Feb 2016 13:53:12 +0000 (14:53 +0100)
index.php

index ecbfb3eb7b1d692e46d47ba2ae50cfc9fa13a4c3..eef894effcc34d04b80ebb22c8fcffddd9bbfe00 100644 (file)
--- 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...