Show arguments of last function during error.

This commit is contained in:
Edward Betts 2020-01-07 14:29:52 +00:00
parent 412d4e1a18
commit 31cecb5c90
2 changed files with 10 additions and 2 deletions

View file

@ -9,7 +9,11 @@
<h1>Software error: {{ tb.exception_type }}</h1>
<div>
<p>{{ tb.exception }}</p>
<pre>{{ tb.exception }}</pre>
<p>Error in function "{{ tb.frames[-1].function_name }}":
{{ last_frame_args | pprint }}</p>
</div>
{% set body %}