forked from GNUsocial/gnu-social
Slightly more correct log message in index.php
This commit is contained in:
parent
52a3764ae4
commit
ba51a696d2
@ -93,9 +93,9 @@ function handleError($error)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$logmsg = "PEAR error: " . $error->getMessage();
|
$logmsg = "Exception thrown: " . _ve($error->getMessage());
|
||||||
if ($error instanceof PEAR_Exception && common_config('site', 'logdebug')) {
|
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
|
// DB queries often end up with a lot of newlines; merge to a single line
|
||||||
// for easier grepability...
|
// for easier grepability...
|
||||||
|
Loading…
Reference in New Issue
Block a user