mirror of
https://github.com/n08i40k/schedule-parser-rusted.git
synced 2025-12-06 17:57:47 +03:00
refactor(updater): don't cancel token when uri fetch error occurred
This commit is contained in:
@@ -65,7 +65,11 @@ impl ScheduleProvider for Wrapper {
|
||||
this.snapshot = Arc::new(snapshot);
|
||||
},
|
||||
|
||||
Err(updater::error::Error::QueryUrlFailed(updater::error::QueryUrlError::UriFetchFailed)) => {},
|
||||
|
||||
Err(err) => {
|
||||
sentry::capture_error(&err);
|
||||
|
||||
cancellation_token.cancel();
|
||||
return Err(err.into());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user