fix: do not ignore update_recent_quota errors

This commit is contained in:
link2xt
2025-07-17 20:03:30 +00:00
parent ad13477754
commit dc63340471
2 changed files with 6 additions and 6 deletions

View File

@@ -594,9 +594,9 @@ impl Context {
.quota_needs_update(DC_BACKGROUND_FETCH_QUOTA_CHECK_RATELIMIT)
.await
{
if let Err(err) = self.update_recent_quota(&mut session).await {
warn!(self, "Failed to update quota: {err:#}.");
}
self.update_recent_quota(&mut session)
.await
.context("Failed to update quota")?;
}
}