We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0ed275 commit 7070f11Copy full SHA for 7070f11
web/index.php
@@ -214,7 +214,8 @@
214
215
$response = new HtmlResponse($html, $status, $exception->getHeaders());
216
} catch (\Throwable $exception) {
217
- $html = "<h1>Oh-no! The developers messed up!</h1><p>{$exception->getMessage()}</p>";
+ $class = get_class($exception);
218
+ $html = "<h1>Oh-no! The developers messed up!</h1><p>{$exception->getMessage()} ($class)</p>";
219
220
if (getenv('ENVIRONMENT') === 'development') {
221
$html .=
0 commit comments