mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
改进异常模板 和 修正 重复的页面trace输出
This commit is contained in:
@@ -81,7 +81,6 @@ class Error
|
||||
self::output($exception, $data);
|
||||
}
|
||||
|
||||
Log::save();
|
||||
// 禁止往下传播已处理过的异常
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -192,9 +192,11 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<?php if(!empty($source)){?>
|
||||
<div class="source-code">
|
||||
<pre class="prettyprint lang-php"><ol start="<?php echo $source['first']; ?>"><?php foreach ((array) $source['source'] as $key => $value) { ?><li class="line-<?php echo $key + $source['first']; ?>"><code><?php echo htmlentities($value); ?></code></li><?php } ?></ol></pre>
|
||||
</div>
|
||||
<?php }?>
|
||||
<div class="trace">
|
||||
<h2>Call Stack</h2>
|
||||
<ol>
|
||||
|
||||
Reference in New Issue
Block a user