fix(StreamDispatcher): forward error created by AudioPlayer.play()
This commit is contained in:
parent
065e028717
commit
1fc810bce5
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ class StreamDispatcher extends EventEmitter<VoiceEvents> {
|
|||
|
||||
try {
|
||||
this.audioPlayer.play(resource);
|
||||
} catch(e) {
|
||||
} catch (e) {
|
||||
this.emit("error", e as AudioPlayerError);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue