Show locals in last frame during traceback.
This commit is contained in:
parent
19c4a7d221
commit
849aa57780
2 changed files with 7 additions and 4 deletions
|
|
@ -11,9 +11,10 @@
|
|||
<div>
|
||||
<pre>{{ tb.exception }}</pre>
|
||||
|
||||
<p>Error in function "{{ tb.frames[-1].function_name }}":
|
||||
{{ last_frame_args | pprint }}</p>
|
||||
|
||||
<p>Error in function "{{ tb.frames[-1].function_name }}"<br>
|
||||
{{ last_frame_args | pprint }}<br>
|
||||
locals: {{ last_frame.locals | pprint }}
|
||||
<p>
|
||||
</div>
|
||||
|
||||
{% set body %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue