Change View, Modal, and AudioPlayer to use logger instead of stderr

This commit is contained in:
mniip
2022-06-22 09:10:02 +03:00
committed by GitHub
parent 9fc4769b18
commit 1be36c9c3e
5 changed files with 11 additions and 17 deletions

View File

@ -572,7 +572,10 @@ class VoiceClient(VoiceProtocol):
If an error happens while the audio player is running, the exception is
caught and the audio player is then stopped. If no after callback is
passed, any caught exception will be displayed as if it were raised.
passed, any caught exception will be logged using the library logger.
.. versionchanged:: 2.0
Instead of writing to ``sys.stderr``, the library's logger is used.
Parameters
-----------