Opened 6 years ago
Last modified 6 years ago
#13042 closed enhancement
Request.send_error shouldn't load and render the error template — at Version 1
Reported by: | Ryan J Ollos | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.3.3 |
Component: | web frontend | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
The Request.send_error method has a method-scoped import for Chrome
and does the work of loading and rendering the error template.
For a normal request the work of rendering a template is done in trac.web.main
. I propose having a _send_error
method in trac.web.main
that does the work of loading and rendering the error template, and have Request.send_error
behave more like Request.send
.
Note:
See TracTickets
for help on using tickets.