feat: improve error handling (#2902)

This commit is contained in:
Dag 2022-07-08 20:39:13 +02:00 committed by GitHub
parent c992bcc8bf
commit abc4af43b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 180 additions and 254 deletions

View file

@ -1,9 +1,19 @@
<section>
<h2>Something went wrong</h2>
<div style="width: 60%; margin: 30px auto">
<h1>Something went wrong</h1>
<br>
<?= e($message) ?>
<br>
<br>
<p>
<?= e($message) ?>
</p>
<?php if (isset($stacktrace)): ?>
<?php foreach ($stacktrace as $frame) : ?>
<code>
<?= e($frame) ?>
</code>
<br>
<?php endforeach; ?>
<?php endif; ?>
</div>
</section>