Browse Source

removed dies from error bootstraper.

Taylor Otwell 13 years ago
parent
commit
abd23c9610
1 changed files with 0 additions and 3 deletions
  1. 0 3
      laravel/bootstrap/errors.php

+ 0 - 3
laravel/bootstrap/errors.php

@@ -49,13 +49,11 @@ $handler = function($e) use ($formatter)
  */
 set_exception_handler(function($e) use ($handler)
 {
-	//die(var_dump($e));
 	$handler($e); 
 });
 
 set_error_handler(function($number, $error, $file, $line) use ($handler)
 {
-	//die($error);
 	$handler(new \ErrorException($error, $number, 0, $file, $line));
 });
 
@@ -63,7 +61,6 @@ register_shutdown_function(function() use ($handler)
 {
 	if ( ! is_null($error = error_get_last()))
 	{
-		//die($error['message']);
 		$handler(new \ErrorException($error['message'], $error['type'], 0, $error['file'], $error['line']));
 	}	
 });