Skip to main content

explain_template_loading_attempts

This should help developers understand what failed

def explain_template_loading_attempts(
app: App,
template: str,
attempts: list[tuple[BaseLoader, Scaffold, tuple | None]]
) - > None

This should help developers understand what failed

Parameters​

NameTypeDescription
appAppThe Flask application instance used to log the debug information.
templatestrThe name or path of the template that the system attempted to load.
attempts`list[tuple[BaseLoader, Scaffold, tupleNone]]`

Returns​

TypeDescription
NoneNothing; the output is sent directly to the application logger.