1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-10-09 22:06:48 +02:00

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
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>