Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cop-discord authored Apr 23, 2024
1 parent f0fdc94 commit 4baab0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/ext/tasks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def is_running(self) -> bool:

async def _error(self, *args: Any) -> None:
exception: Exception = args[-1]
_log.error('Unhandled exception in internal background task %r.', self.coro.__name__, exc_info=exception)
_log.error(f'Unhandled exception in internal background task {self.coro.__name__}.', exc_info=exception)

def before_loop(self, coro: FT) -> FT:
"""A decorator that registers a coroutine to be called before the loop starts running.
Expand Down

0 comments on commit 4baab0a

Please sign in to comment.