icingaweb2/application/views/scripts/error/error.phtml

26 lines
675 B
PHTML
Executable File

<div class="alert alert-error fullpage_infobox">
<h1>An error occurred</h1>
<p>
<?php echo $this->message ?>
</p>
<?php if (isset($this->exception)): ?>
<div style="text-align:left;">
<h3>Exception information:</h3>
<p >
<b>Message:</b> <?php echo $this->exception->getMessage() ?>
</p>
<h3>Stack trace:</h3>
<pre style="font-family: monospace"><?php echo $this->exception->getTraceAsString() ?>
</pre>
<h3>Request Parameters:</h3>
<pre><?php echo var_export(\Zend_Controller_Front::getInstance()->getParams(), true) ?>
</pre>
</div>
<?php endif ?>
</div>