This commit is contained in:
Andras Bacsai
2023-06-16 11:01:27 +02:00
parent 2b8467e6a1
commit 2c3ddfd363
14 changed files with 35 additions and 18 deletions

View File

@@ -47,7 +47,7 @@ class Handler extends ExceptionHandler
{
$this->reportable(function (Throwable $e) {
$this->settings = InstanceSettings::get();
if ($this->settings->do_not_track || config('app.env') === 'local') {
if ($this->settings->do_not_track || isDev()) {
return;
}
Integration::captureUnhandledException($e);