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