Open mjhouse opened 4 years ago
Fails with error:
[crates\routes\src\resources.rs:385] e = Error {
kind: Msg(
"Failed to render \'errors/404.html\'",
),
source: Some(
Error {
kind: Msg(
"Inheritance in included templates is currently not supported: extended 'base.html'",
),
source: None,
},
),
}
Sometimes while rendering 404 (probably other handlers as well) error pages, Tera crashes with an error about template inheritance. Need to debug and refactor error handlers so that this no longer occurs.
Possibly load an render a single tera template in error handlers instead of relying on parsing the Resources struct from the request.