pass exception to 500 event correctly.
This commit is contained in:
@@ -54,7 +54,7 @@ class Error {
|
||||
// Using events gives the developer more freedom.
|
||||
else
|
||||
{
|
||||
$response = Event::first('500', $exception);
|
||||
$response = Event::first('500', array($exception));
|
||||
|
||||
$response = Response::prepare($response);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user