Compare commits

...

2 Commits

Author SHA1 Message Date
WofWca
07284b83e5 refactor: remove TODO 2026-05-25 16:06:36 +00:00
WofWca
2aa96e2d8c fix: improve connectivity HTML if quota info error
Currently if there is an error getting quota
the HTML displays something like

```
example.com: Connected
Failed to parse.
```

It's not clear that "Failed to parse" only refers to quota info.
2026-05-25 15:39:21 +04:00

View File

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