mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Update Dev.php
This commit is contained in:
parent
d3fe1b788d
commit
ed32dde9c9
1 changed files with 7 additions and 3 deletions
10
src/Dev.php
10
src/Dev.php
|
@ -52,9 +52,8 @@ class Dev
|
||||||
$this->getWhoopsPlaceholder();
|
$this->getWhoopsPlaceholder();
|
||||||
}
|
}
|
||||||
$this->getWhoopsLogger();
|
$this->getWhoopsLogger();
|
||||||
|
|
||||||
$this->getBugsnag();
|
|
||||||
$this->getTelegramSender();
|
$this->getTelegramSender();
|
||||||
|
$this->getBugsnag();
|
||||||
|
|
||||||
$this->whoops->register();
|
$this->whoops->register();
|
||||||
}
|
}
|
||||||
|
@ -129,6 +128,11 @@ class Dev
|
||||||
$this->whoops->pushHandler($loggingInConsole);
|
$this->whoops->pushHandler($loggingInConsole);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whoops logger
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
private function getWhoopsLogger(): void
|
private function getWhoopsLogger(): void
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
@ -147,7 +151,7 @@ class Dev
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whoops production debug driver
|
* Whoops placeholder (non debug)
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue