You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# TODO: BUG: Distributed Computing Fallacy #1: The network is reliable.
I agree that you probably should also be handling things like ConnectionError and TimeoutError here, and you might have other reasons for doing it the way you are, but just wanted to point to Response.raise_for_status as a possible alternative to checking the status code, just in case you weren't aware of it.
The text was updated successfully, but these errors were encountered:
TxBillSearch/txbillsearch/txbillsearch.py
Line 123 in 7f4a70d
I agree that you probably should also be handling things like
ConnectionError
andTimeoutError
here, and you might have other reasons for doing it the way you are, but just wanted to point toResponse.raise_for_status
as a possible alternative to checking the status code, just in case you weren't aware of it.The text was updated successfully, but these errors were encountered: