]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - index.php
Forgot a microsummary route in the latest commit
[quix0rs-gnu-social.git] / 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...