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
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}