chore: replace whoops by ignition (#3565)

This commit is contained in:
Regis Freyd
2020-02-11 08:52:12 -05:00
committed by GitHub
parent cc87b11676
commit 26bdb8c8bb
3 changed files with 554 additions and 286 deletions
+9
View File
@@ -78,4 +78,13 @@ class Handler extends ExceptionHandler
return parent::render($request, $e);
}
protected function whoopsHandler()
{
try {
return app(\Whoops\Handler\HandlerInterface::class);
} catch (\Illuminate\Contracts\Container\BindingResolutionException $e) {
return parent::whoopsHandler();
}
}
}