Skip to content

Commit

Permalink
chore: hide more 429 logs
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Nov 13, 2023
1 parent 4e4edf0 commit b41c6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dank_mids/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def should_retry(self, e: Exception) -> bool:
logger.debug('Dank too loud. Bisecting batch and retrying.')
elif isinstance(e, BadResponse) and ('invalid request' in f"{e}" or 'Parse error' in f"{e}"):
pass
elif "error processing call Revert" not in f"{e}":
elif "error processing call Revert" not in f"{e}" and "429" not in f"{e}":
logger.warning(f"unexpected {e.__class__.__name__}: {e}")
return len(self) > 1

Expand Down

0 comments on commit b41c6c2

Please sign in to comment.