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

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

No files matched your search

+4
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 {