traces are appearing wrong

This commit is contained in:
Shish 2011-01-01 17:00:06 +00:00
parent 2532091ae8
commit 76286686e3

View File

@ -136,7 +136,7 @@ try {
catch(Exception $e) { catch(Exception $e) {
$version = VERSION; $version = VERSION;
$message = $e->getMessage(); $message = $e->getMessage();
$trace = var_dump($e->getTrace()); //$trace = var_dump($e->getTrace());
header("HTTP/1.0 500 Internal Error"); header("HTTP/1.0 500 Internal Error");
print <<<EOD print <<<EOD
<html> <html>
@ -146,7 +146,6 @@ catch(Exception $e) {
<body> <body>
<h1>Internal Error</h1> <h1>Internal Error</h1>
<p>$message <p>$message
<p>$trace
</body> </body>
</html> </html>
EOD; EOD;