refactor(updater): don't cancel token when uri fetch error occurred

This commit is contained in:
2025-09-29 08:26:33 +04:00
parent aa019f8fcf
commit 69df538467

View File

@@ -65,7 +65,11 @@ impl ScheduleProvider for Wrapper {
this.snapshot = Arc::new(snapshot); this.snapshot = Arc::new(snapshot);
}, },
Err(updater::error::Error::QueryUrlFailed(updater::error::QueryUrlError::UriFetchFailed)) => {},
Err(err) => { Err(err) => {
sentry::capture_error(&err);
cancellation_token.cancel(); cancellation_token.cancel();
return Err(err.into()); return Err(err.into());
} }