Skip to content

Commit

Permalink
Fixed exception rendering in debug mode (#32027)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored Mar 19, 2020
1 parent d35856b commit 26e5af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ protected function renderExceptionWithSymfony(Throwable $e, $debug)
{
$renderer = new HtmlErrorRenderer($debug);

return $renderer->getBody($renderer->render($e));
return $renderer->render($e)->getAsString();
}

/**
Expand Down

0 comments on commit 26e5af1

Please sign in to comment.