diff --git a/laravel/error.php b/laravel/error.php index 7de0919a..226d4639 100644 --- a/laravel/error.php +++ b/laravel/error.php @@ -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); }