Keep refreshing subscriptions if a channel errored
This commit is contained in:
parent
f7b0dd48a9
commit
4674cc926c
1 changed files with 2 additions and 0 deletions
|
|
@ -447,6 +447,8 @@ class Bot:
|
|||
for sub_info in sorted_subs:
|
||||
try:
|
||||
self._refresh_sub(sub_info, channel_dict, category_ranges)
|
||||
except RuntimeError as error:
|
||||
self.logger.error('Refreshing subscription %s failed: %s', sub_info.channel_id, error)
|
||||
except TimeoutError as error:
|
||||
self.logger.error('Timeout error refreshing subcription: %s', error)
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue