pass exception to 500 event correctly.

This commit is contained in:
Taylor Otwell
2013-04-06 20:27:00 -05:00
parent 92e3ae47bb
commit 5ddeab6051

View File

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