Skip to content

Commit

Permalink
Added missing exception type in 'except' statement in the publish fun…
Browse files Browse the repository at this point in the history
…ction.
  • Loading branch information
Kurt Biery committed Dec 16, 2024
1 parent 87571b9 commit 68ed512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drunc/connectivity_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def publish(self, uid, uri, data_type:str):
ignore_errors = True
).raise_for_status()
break
except (HTTPError, ConnectionError) as e:
except (HTTPError, ConnectionError, ReadTimeout) as e:
from time import sleep
sleep(0.2)
continue

0 comments on commit 68ed512

Please sign in to comment.