Skip to content

Commit 48be5fc

Browse files
committed
Merge branch 'dev/3.0' of https://github.com/PythonistaGuild/TwitchIO into dev/3.0
2 parents 9f6b436 + efb9c26 commit 48be5fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

twitchio/client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,9 @@ async def _dispatch(self, listener: Callable[..., Coroutine[Any, Any, None]], *,
215215
payload: EventErrorPayload = EventErrorPayload(error=e, listener=listener, original=original)
216216
await self.event_error(payload)
217217
except Exception as inner:
218-
logger.error('Ignoring Exception in listener "%s.event_error":\n', self.__qualname__, exc_info=inner)
218+
logger.error(
219+
'Ignoring Exception in listener "%s.event_error":\n', self.__class__.__qualname__, exc_info=inner
220+
)
219221

220222
def dispatch(self, event: str, payload: Any | None = None) -> None:
221223
name: str = "event_" + event.lower()

0 commit comments

Comments
 (0)