Closed purplesmoke05 closed 1 year ago
if a http request is emitted to quorum when quorum get temporary down or so, it will return http status code of 404 and requests.HTTPError.
requests.HTTPError
Ref: https://github.com/BoostryJP/ibet-Prime/issues/473
There are no exception handling about HTTPError, so we would like to add it.
https://github.com/BoostryJP/ibet-Wallet-API/blob/ea0f43e1b95e729b69482f4beb6f667ce76367b6/app/utils/web3_utils.py#L115-L120
Add exception handling about HTTPError to web3_utils.
Is your feature request related to a problem? Please describe.
if a http request is emitted to quorum when quorum get temporary down or so, it will return http status code of 404 and
requests.HTTPError
.Ref: https://github.com/BoostryJP/ibet-Prime/issues/473
There are no exception handling about HTTPError, so we would like to add it.
https://github.com/BoostryJP/ibet-Wallet-API/blob/ea0f43e1b95e729b69482f4beb6f667ce76367b6/app/utils/web3_utils.py#L115-L120
Describe the solution you'd like
Add exception handling about HTTPError to web3_utils.