Merge pull request #1711 from torm3nt/master

Event firing of 500s now passes along the $exception object
This commit is contained in:
Taylor Otwell
2013-03-28 14:28:04 -07:00
2 changed files with 4 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ class Error {
// Using events gives the developer more freedom.
else
{
$response = Event::first('500');
$response = Event::first('500', $exception);
$response = Response::prepare($response);
}