mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
fix(debug): Disabled Bugsnag
reporting on local environment (#1751)
This commit is contained in:
parent
a7c30973d9
commit
1f3b629e9c
1 changed files with 5 additions and 2 deletions
|
@ -51,8 +51,11 @@ class Dev
|
|||
$this->getWhoopsPlaceholder();
|
||||
}
|
||||
$this->getWhoopsLogger();
|
||||
|
||||
if (APP_ENV !== 'local') {
|
||||
$this->getTelegramSender();
|
||||
$this->getBugsnag();
|
||||
}
|
||||
|
||||
$this->whoops->register();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue