Fix auth tab crash when template rendering fails (#392)

This commit is contained in:
Gregory Schier
2026-02-11 14:59:17 -08:00
committed by GitHub
parent 26aba6034f
commit 565e053ee8
2 changed files with 11 additions and 2 deletions

View File

@@ -81,6 +81,10 @@ impl RenderOptions {
pub fn throw() -> Self {
Self { error_behavior: RenderErrorBehavior::Throw }
}
pub fn return_empty() -> Self {
Self { error_behavior: RenderErrorBehavior::ReturnEmpty }
}
}
impl RenderErrorBehavior {