Set alias for Whoops
This commit is contained in:
parent
c8213a6c03
commit
c5faeb0401
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ namespace Runtime\Exceptions;
|
|||
use Whoops\Handler\Handler;
|
||||
use Whoops\Handler\JsonResponseHandler;
|
||||
use Whoops\Handler\PlainTextHandler;
|
||||
use Whoops\Run;
|
||||
use Whoops\Run as RunWhoops;
|
||||
use Whoops\Handler\PrettyPageHandler;
|
||||
use Whoops\Util\Misc;
|
||||
use function DI\value;
|
||||
|
@ -13,7 +13,7 @@ use function DI\value;
|
|||
class ExceptionHandler {
|
||||
|
||||
/**
|
||||
* @var Run
|
||||
* @var RunWhoops
|
||||
*/
|
||||
private static $handler;
|
||||
|
||||
|
@ -39,7 +39,7 @@ class ExceptionHandler {
|
|||
*/
|
||||
public static function register()
|
||||
{
|
||||
self::$handler = new Run();
|
||||
self::$handler = new RunWhoops();
|
||||
|
||||
$debug = env('debug');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue