Improved error page +++

This commit is contained in:
Dmitry Khomutov 2017-04-16 21:37:55 +07:00
commit 3bd5b2c718
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9
2 changed files with 6 additions and 6 deletions

View file

@ -7,11 +7,10 @@
/** @var $exception \Exception */
?>
<div class="box-body">
<?= $exception->getMessage(); ?><br />
File: <?= $exception->getFile(); ?><br />
Line: <?= $exception->getLine(); ?>
<pre>
<?= $exception->getTraceAsString(); ?>
</pre>
<strong>Message</strong>: <?= $exception->getMessage(); ?><br />
<strong>File</strong>: <?= $exception->getFile(); ?><br />
<strong>Line</strong>: <?= $exception->getLine(); ?><br />
<strong>Trace</strong>:
<pre style="white-space: pre-wrap"><?= $exception->getTraceAsString(); ?></pre>
</div>
</div>