Skip to content

Commit

Permalink
Merge branch 'release/v0.14.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
betterthanclay committed Oct 3, 2019
2 parents 4461ae9 + eeea5fe commit a2d38ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Glitch/Renderer/Html.php
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,9 @@ protected function renderExceptionMessage(\Throwable $exception): string
*/
protected function renderProductionExceptionMessage(\Throwable $exception): string
{
return '<section class="production exception">There was a problem serving your request - please try again later</section>';
$output[] = '<section class="production exception">There was a problem serving your request - please try again later</section>';
$output[] = '<!--'."\n".(string)$exception."\n".'-->';
return implode("\n", $output);
}

/**
Expand Down

0 comments on commit a2d38ca

Please sign in to comment.