mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
改进异常模板 和 修正 重复的页面trace输出
This commit is contained in:
@@ -81,7 +81,6 @@ class Error
|
|||||||
self::output($exception, $data);
|
self::output($exception, $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
Log::save();
|
|
||||||
// 禁止往下传播已处理过的异常
|
// 禁止往下传播已处理过的异常
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -192,9 +192,11 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<?php if(!empty($source)){?>
|
||||||
<div class="source-code">
|
<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>
|
<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>
|
</div>
|
||||||
|
<?php }?>
|
||||||
<div class="trace">
|
<div class="trace">
|
||||||
<h2>Call Stack</h2>
|
<h2>Call Stack</h2>
|
||||||
<ol>
|
<ol>
|
||||||
|
|||||||
Reference in New Issue
Block a user