summaryrefslogtreecommitdiff
path: root/src/Exceptions/Handlers/Whoops.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Exceptions/Handlers/Whoops.php')
-rw-r--r--src/Exceptions/Handlers/Whoops.php2
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();