|
@@ -36,7 +36,7 @@ class Handler extends ExceptionHandler
|
|
|
public function report(Exception $e)
|
|
|
{
|
|
|
$appEnv = env('APP_ENV', 'production');
|
|
|
- if ($this->shouldReport($e) && env('APP_ENV') !== 'local') {
|
|
|
+ if ($this->shouldReport($e) && env('APP_ENV') == 'production') {
|
|
|
$date = date('Y-m-d H:i:s');
|
|
|
$file = $e->getFile();
|
|
|
$line = $e->getLine();
|