@@ -35,7 +35,7 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | public function report(Exception $exception) |
| 37 | 37 | { |
| 38 | - if(config('app.debug')) |
|
| 38 | + if (config('app.debug')) |
|
| 39 | 39 | { |
| 40 | 40 | parent::report($exception); |
| 41 | 41 | } |
@@ -38,8 +38,7 @@ |
||
| 38 | 38 | if(config('app.debug')) |
| 39 | 39 | { |
| 40 | 40 | parent::report($exception); |
| 41 | - } |
|
| 42 | - else |
|
| 41 | + } else |
|
| 43 | 42 | { |
| 44 | 43 | Log::error('['.$exception->getCode().'] "'.$exception->getMessage().'" on line '.$exception->getTrace()[0]['line'].' of file '.$exception->getTrace()[0]['file']); |
| 45 | 44 | } |