diff --git a/dank_mids/requests.py b/dank_mids/requests.py index dc33903c..037c2a3c 100644 --- a/dank_mids/requests.py +++ b/dank_mids/requests.py @@ -793,8 +793,11 @@ def _post_future_cleanup(self) -> None: def _log_exception(e: Exception) -> None: # NOTE: These errors are expected during normal use and are not indicative of any problem(s). No need to log them. # TODO: Better filter what we choose to log here - dont_need_to_see_errs = constants.RETRY_ERRS + ['out of gas','error processing call revert', 'non_empty_data', 'invalid ether transfer', 'exceeding --rpc.returndata.limit', 'invalid opcode', "'code': 429"] - dont_need_to_see_errs += ["invalid request"] # We catch and correct these + dont_need_to_see_errs = constants.RETRY_ERRS + ['out of gas', 'non_empty_data', 'exceeding --rpc.returndata.limit', "'code': 429"] + # We catch and correct these + dont_need_to_see_errs += ["invalid request"] + # We pass these down to the call they originated from + dont_need_to_see_errs += ["invalid ether transfer", "error processing call revert", "invalid opcode", "resource not found"] stre = str(e).lower() if any(err in stre for err in dont_need_to_see_errs): return