From 97932fda07a22f3ff5f873ad746260b65aa70a9d Mon Sep 17 00:00:00 2001 From: WofWca Date: Mon, 10 Aug 2026 16:55:08 +0400 Subject: [PATCH] fix: improve connectivity HTML if quota info error Currently if there is an error fetching quota then the HTML displays something like ``` example.com: Connected Failed to parse ``` It's not clear that "Failed to parse" only refers to quota info. --- src/scheduler/connectivity.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scheduler/connectivity.rs b/src/scheduler/connectivity.rs index 1c8d58762..c3573e64a 100644 --- a/src/scheduler/connectivity.rs +++ b/src/scheduler/connectivity.rs @@ -449,7 +449,7 @@ impl Context { // If not supported by the provider, // just skip the "quota" section. if !matches!(e, crate::quota::Error::NotSupportedByProvider) { - ret += &escaper::encode_minimal(&e.to_string()); + ret += &format!("Quota: {}", &*escaper::encode_minimal(&e.to_string())); } } Ok(quota) => {