Skip to content

Error handler doesn't seem to work; Error with the "previous" command #299

Closed Answered by skick1234
SubsetOfArray asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Because those functions are returning a Promise, ofc you cannot catch the error with this. Add await or use .catch()
  2. error event is emitted when there is an error while playing music, not when using methods.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by skick1234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants