View Issue Details

IDProjectCategoryView StatusLast Update
148Exception_DefaultHandlerAllpublic28 Jun 2009 21:25
Reportermrosenquist Assigned Totimj  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.7.0Fixed in Version0.7.0 
Summary148: Include Error Hash in all output so all errors can be easily consolidated
DescriptionInclude Error Hash in all output so all errors can be easily consolidated
TagsNo tags attached.
Attached Files
DefaultHandler.php.patch (1,140 bytes)   
--- DefaultHandler.php.orig	2009-01-16 10:27:04.000000000 +0000
+++ DefaultHandler.php	2009-01-16 10:39:45.000000000 +0000
@@ -65,7 +65,7 @@
 		$error_hash = self::getExceptionHash($exception);
 		$backtrace = self::getBacktraceOutput($exception->getTrace());
 		self::sendEmail($backtrace, null, $exception, $error_hash);
-		self::showOutput('Exception (code ' . $exception->getCode(). ')', $exception->getMessage(), $exception->getFile(), $exception->getLine(), $backtrace, true);
+		self::showOutput('Exception (code ' . $exception->getCode(). ') #' . $error_hash, $exception->getMessage(), $exception->getFile(), $exception->getLine(), $backtrace, true);
 		self::writeLog('Exception (code ' . $exception->getCode(). ')', $exception->getMessage(), $exception->getFile(), $exception->getLine(), $backtrace);
 		die();
 	}
@@ -122,7 +122,7 @@
 				$termination_error = true;
 			}
 			
-			self::showOutput($errtype, $errmsg, $filename, $linenum, $backtrace, $termination_error);
+			self::showOutput($errtype.' #'.$error_hash, $errmsg, $filename, $linenum, $backtrace, $termination_error);
 			
 			if ($termination_error) {
 				die();
DefaultHandler.php.patch (1,140 bytes)   

Activities

timj

10 Mar 2009 21:59

administrator   ~182

Fixed in SVN r1521

Issue History

Date Modified Username Field Change
16 Jan 2009 10:34 mrosenquist New Issue
16 Jan 2009 10:34 mrosenquist File Added: DefaultHandler.php.patch
10 Mar 2009 21:59 timj Note Added: 182
10 Mar 2009 21:59 timj Assigned To => timj
10 Mar 2009 21:59 timj Status new => resolved
10 Mar 2009 21:59 timj Resolution open => fixed
10 Mar 2009 21:59 timj Fixed in Version => 0.7.0
10 Mar 2009 21:59 timj Target Version => 0.7.0
28 Jun 2009 21:25 timj Status resolved => closed
14 Oct 2011 20:47 timj Category => All