Closed ColonelThirtyTwo closed 3 months ago
ReportExportError.at_error
ReportExportError.__str__
ReportExportError.code_context
__str__
map_jinja2_render_errors
ReportExportError
This should further help narrow down Jinja template issues by providing more context.
ReportExportError.at_error
and do it inReportExportError.__str__
, which is harder to miss.ReportExportError.code_context
, holding the line near where an error occurs, and use it in__str__
.map_jinja2_render_errors
adds its location to a thrownReportExportError
if it doesn't have one.This should further help narrow down Jinja template issues by providing more context.