Markdown stacktrace: render with all frames

not just in-app ones;

basic principle: more info means the LLM (or whatever) has more to go by
This commit is contained in:
Klaas van Schelven
2025-10-10 09:19:11 +02:00
parent e6e0118583
commit 9cb89ecf46
5 changed files with 6 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ def event_plaintext(request, event):
@atomic_for_request_method
@event_membership_required
def event_markdown(request, event, as_attachment=False):
text = render_stacktrace_md(event, frames="in_app", include_locals=True)
text = render_stacktrace_md(event, in_app_only=False, include_locals=True)
result = HttpResponse(text, content_type="text/markdown; charset=utf-8")
if as_attachment:
result["Content-Disposition"] = content_disposition_header(