public function getErrorResponse(\Exception $e) { if (config('app.debug')) { throw $e; } return parent::getErrorResponse($e); }