pass exception to 500 event correctly.
This commit is contained in:
parent
92e3ae47bb
commit
5ddeab6051
|
@ -54,7 +54,7 @@ public static function exception($exception, $trace = true)
|
|||
// Using events gives the developer more freedom.
|
||||
else
|
||||
{
|
||||
$response = Event::first('500', $exception);
|
||||
$response = Event::first('500', array($exception));
|
||||
|
||||
$response = Response::prepare($response);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue