From 4e6fa1c4cc6bc35db1a4b964b51a065afc68caa3 Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Sun, 25 Oct 2026 15:05:08 +0100 Subject: [PATCH] fix(host): show a model-unavailable error on the facts page instead of dropping the circuit Co-Authored-By: Claude Opus 5.5 --- src/Wiki.Host/Components/Pages/Facts.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Wiki.Host/Components/Pages/Facts.razor b/src/Wiki.Host/Components/Pages/Facts.razor index e04a911..dee0bc4 100644 --- a/src/Wiki.Host/Components/Pages/Facts.razor +++ b/src/Wiki.Host/Components/Pages/Facts.razor @@ -174,7 +174,7 @@ else _images.Clear(); await LoadRawAsync(); } - catch (Exception e) when (e is HttpRequestException or InvalidOperationException) + catch (Exception e) when (e is HttpRequestException or InvalidOperationException or ModelUnavailableException) { _error = e.Message; }