Skip to content

Commit

Permalink
Catch exception when unsubscribing
Browse files Browse the repository at this point in the history
  • Loading branch information
lflare committed Mar 15, 2024
1 parent f00ecb8 commit be69655
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ def subscribe_community(self, community_addr):
logger.info(f"SUBSCRIBED: {community_addr}")
self.db[community_addr] = -1

@logger.catch(message="failed to unsub")
@retry(tries=3)
def unsubscribe_community(self, community_addr, community_id):
# Attempt to resolve
Expand Down

0 comments on commit be69655

Please sign in to comment.