Upgraded exceptions stuff

This commit is contained in:
Graham Campbell
2016-01-21 13:06:39 +00:00
parent 61673153d5
commit f19eff244f
4 changed files with 18 additions and 21 deletions

View File

@@ -28,7 +28,8 @@ return [
'transformers' => [
'GrahamCampbell\Exceptions\Transformers\AuthTransformer',
'GrahamCampbell\Exceptions\Transformers\CsrfTransformer',
'CachetHQ\Cachet\Foundation\Exceptions\Transformers\ExceptionTransformer',
'GrahamCampbell\Exceptions\Transformers\ModelTransformer',
'CachetHQ\Cachet\Foundation\Exceptions\Transformers\BusTransformer',
],
/*
@@ -102,8 +103,8 @@ return [
'levels' => [
'Illuminate\Auth\Access\AuthorizationException' => 'warning',
'Illuminate\Session\TokenMismatchException' => 'notice',
'Illuminate\Database\Eloquent\ModelNotFoundException' => 'warning',
'Illuminate\Session\TokenMismatchException' => 'notice',
'Symfony\Component\HttpKernel\Exception\HttpExceptionInterface' => 'warning',
'Symfony\Component\Debug\Exception\FatalErrorException' => 'critical',
'Exception' => 'error',