Skip to content

Commit

Permalink
Update queue.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Dec 19, 2024
1 parent 75576be commit 34f8cf2
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 @@ -255,7 +255,7 @@ def log_broken(func: Callable[[Any], NoReturn]) -> Callable[[Any], NoReturn]:
@wraps(func)
async def __worker_exc_wrap(self):
try:
return func(self)
return await func(self)
except Exception as e:
logger.error("%s for %s is broken!!!", type(self).__name__, func)
logger.exception(e)
Expand Down

0 comments on commit 34f8cf2

Please sign in to comment.