mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 17:32:31 -05:00
Bump RLL and improve logging (#5044)
* version bump * - bump RLL - logging changes - player.channel.guild->player.guild - small cleanup around logging changes * missed one * here this one too * Apply suggestions from code review Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> * add one missing player log * missed one * Format with Black Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
@@ -219,7 +219,7 @@ class PlaylistScope(Enum):
|
||||
def task_callback(task: asyncio.Task) -> None:
|
||||
with contextlib.suppress(asyncio.CancelledError, asyncio.InvalidStateError):
|
||||
if exc := task.exception():
|
||||
log.exception(f"{task.get_name()} raised an Exception", exc_info=exc)
|
||||
log.exception("%s raised an Exception", task.get_name(), exc_info=exc)
|
||||
|
||||
|
||||
def has_internal_server():
|
||||
|
||||
Reference in New Issue
Block a user