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.
This commit is contained in:
WofWca
2026-08-10 16:55:08 +04:00
committed by GitHub
parent cd42efb36d
commit 97932fda07

View File

@@ -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) => {