Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyCyborg committed Dec 27, 2019
1 parent a9a6963 commit 6cc7fb3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/Platform/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,10 @@ protected function convertExceptionToResponse(Exception $e, Request $request)
*/
protected function renderExceptionWithWhoops(Exception $e, Request $request)
{
with($whoops = new WhoopsRun())->allowQuit(false);
$whoops = new WhoopsRun();

//
$whoops->allowQuit(false);
$whoops->writeToOutput(false);

if ($request->ajax() || $request->wantsJson()) {
Expand Down

0 comments on commit 6cc7fb3

Please sign in to comment.