|
|
@@ -118,7 +118,7 @@ class Handler extends ExceptionHandler
|
|
118
|
118
|
'message' => $message,
|
|
119
|
119
|
];
|
|
120
|
120
|
|
|
121
|
|
- if (!app()->environment('production')) {
|
|
|
121
|
+ if (!app()->environment('PRO')&&!app()->environment('pro')) {
|
|
122
|
122
|
$data['errors'] = [
|
|
123
|
123
|
'message' => $exception->getMessage(),
|
|
124
|
124
|
'trace' => $exception->getTrace(),
|