Updated error class to pass the Exception for the 500 triggered event.

This commit is contained in:
Kirk Bushell
2013-02-15 09:50:32 +11:00
parent 63bf89efd5
commit bc36205a99
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);
}