mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-09 12:50:23 -05:00
Update yt_dlp/networking/_websockets.py
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
This commit is contained in:
parent
f1f1af9c67
commit
aef80ad64c
1 changed files with 2 additions and 2 deletions
|
@ -79,10 +79,10 @@ def __init__(self, logger, *args, **kwargs):
|
|||
def emit(self, record):
|
||||
try:
|
||||
msg = self.format(record)
|
||||
self._logger.stdout(msg)
|
||||
|
||||
except Exception:
|
||||
self.handleError(record)
|
||||
else:
|
||||
self._logger.stdout(msg)
|
||||
|
||||
|
||||
class WebsocketsResponseAdapter(WebSocketResponse):
|
||||
|
|
Loading…
Reference in a new issue