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

This commit is contained in:
mniip authored and GitHub committed 2022-06-22 02:10:02 -04:00
1 parent 9fc4769b18
commit 1be36c9c3e
5 files changed
+11 -17

No files matched your search

+4 -1
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
-----------