Add Sentry integration
This commit is contained in:
1 parent
6c3bcd57c5
commit
19d4ba5e40
5 files changed
+1211
-265
No files matched your search
@@ -32,6 +32,10 @@ class Handler extends ExceptionHandler
|
||||
*/
|
||||
public function report(Exception $exception)
|
||||
{
|
||||
if (app()->bound('sentry') && $this->shouldReport($exception)) {
|
||||
app('sentry')->captureException($exception);
|
||||
}
|
||||
|
||||
parent::report($exception);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user