mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Debug IDs for missing sourcemaps: show them right in the stacktrace
See #158
This commit is contained in:
@@ -146,7 +146,11 @@
|
||||
|
||||
{% if "context_line" not in frame or frame.context_line is None %}{% if not frame.vars %}{# nested ifs as a subsitute for brackets-in-templates #}
|
||||
<div class="mt-6 mb-6 italic">
|
||||
No code context or variables available for this frame.
|
||||
{% if frame.debug_id %}{# only in the no-vars-either case to avoid excessive if-nesting (at the cost of completeness, but "will yes-vars, broken debug_id even be a case? For now we hope not) #}
|
||||
No sourcemaps found for Debug ID {{ frame.debug_id }}
|
||||
{% else %}
|
||||
No code context or variables available for this frame.
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user