1
0
mirror of https://github.com/torrentpier/torrentpier.git synced 2025-03-12 04:35:42 -07:00

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

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

@ -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();
}