mirror of
https://github.com/chatmail/core.git
synced 2026-09-22 13:01:21 +03:00
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:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user