fix(debug): Disabled Bugsnag reporting on local environment (#1751)

This commit is contained in:
Roman Kelesidis 2025-01-14 09:19:32 +03:00 committed by GitHub
commit 1f3b629e9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,8 +51,11 @@ class Dev
$this->getWhoopsPlaceholder();
}
$this->getWhoopsLogger();
$this->getTelegramSender();
$this->getBugsnag();
if (APP_ENV !== 'local') {
$this->getTelegramSender();
$this->getBugsnag();
}
$this->whoops->register();
}