feat: 添加系统日志功能,记录运行时错误和AI调用失败,提供日志查看页面
This commit is contained in:
@@ -20,6 +20,9 @@
|
||||
<p class="alert">{{ message }}</p>
|
||||
<div class="actions" style="margin-top: 10px;">
|
||||
<a class="btn" href="{{ back_url }}">返回上一页</a>
|
||||
{% if status_code >= 500 %}
|
||||
<a class="btn btn-light" href="{{ url_for('system_logs_page') }}">查看系统日志</a>
|
||||
{% endif %}
|
||||
<button class="btn btn-light" type="button" onclick="history.back()">浏览器返回</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user