Skip to content

Commit

Permalink
fix: RecursionError log msg when queue is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Jan 6, 2025
1 parent cd7cdfa commit d552c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion a_sync/primitives/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ async def __worker_exc_wrap(self: "ProcessingQueue"):
try:
return await func(self)
except Exception as e:
logger.error("%s for %s is broken!!!", type(self).__name__, self.func)
logger.error("%s is broken!!!", self)
logger.exception(e)
raise

Expand Down

0 comments on commit d552c97

Please sign in to comment.