Skip to content

Commit bb28233

Browse files
authored
better error handling
1 parent 046ba8c commit bb28233

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/App/Traits/ExceptionNotificationHandlerTrait.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace App\Traits;
44

55
use App\Mail\ExceptionOccured;
6+
use Illuminate\Support\Facades\Log;
67
use Mail;
78
use Symfony\Component\Debug\ExceptionHandler as SymfonyExceptionHandler;
89
use Symfony\Component\Debug\Exception\FlattenException;
@@ -68,7 +69,7 @@ public function sendEmail(Exception $exception)
6869

6970
} catch (Exception $exception) {
7071

71-
dd($exception);
72+
Log::error($exception);
7273

7374
}
7475
}

0 commit comments

Comments
 (0)