Commit 5ddeab60 by Taylor Otwell

pass exception to 500 event correctly.

parent 92e3ae47
...@@ -54,7 +54,7 @@ class Error { ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment