traces are appearing wrong
This commit is contained in:
parent
2532091ae8
commit
76286686e3
1 changed files with 1 additions and 2 deletions
|
@ -136,7 +136,7 @@ try {
|
|||
catch(Exception $e) {
|
||||
$version = VERSION;
|
||||
$message = $e->getMessage();
|
||||
$trace = var_dump($e->getTrace());
|
||||
//$trace = var_dump($e->getTrace());
|
||||
header("HTTP/1.0 500 Internal Error");
|
||||
print <<<EOD
|
||||
<html>
|
||||
|
@ -146,7 +146,6 @@ catch(Exception $e) {
|
|||
<body>
|
||||
<h1>Internal Error</h1>
|
||||
<p>$message
|
||||
<p>$trace
|
||||
</body>
|
||||
</html>
|
||||
EOD;
|
||||
|
|
Reference in a new issue