diff options
| author | Igor Scheller <igor.scheller@igorshp.de> | 2018-08-07 03:06:21 +0200 |
|---|---|---|
| committer | Igor Scheller <igor.scheller@igorshp.de> | 2018-08-14 00:17:19 +0200 |
| commit | 92c26718fd0799660515d64feabbbc1cd1d71a35 (patch) | |
| tree | 6574a53688e1981aa524ef32ee203f2c6836d968 /src/Exceptions/Handlers/Whoops.php | |
| parent | 864a086900b92233d7cf76747828163346eabc77 (diff) | |
exceptions: implemented error rendering return
Diffstat (limited to 'src/Exceptions/Handlers/Whoops.php')
| -rw-r--r-- | src/Exceptions/Handlers/Whoops.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Exceptions/Handlers/Whoops.php b/src/Exceptions/Handlers/Whoops.php index 73352105..630aca1d 100644 --- a/src/Exceptions/Handlers/Whoops.php +++ b/src/Exceptions/Handlers/Whoops.php @@ -34,6 +34,8 @@ class Whoops extends Legacy implements HandlerInterface $whoops = $this->app->make(WhoopsRunner::class); $handler = $this->getPrettyPageHandler($e); $whoops->pushHandler($handler); + $whoops->writeToOutput(false); + $whoops->allowQuit(false); if ($request->isXmlHttpRequest()) { $handler = $this->getJsonResponseHandler(); |
