Skip to content

Commit

Permalink
Add another message to onTrackError
Browse files Browse the repository at this point in the history
  • Loading branch information
MichailiK committed Oct 30, 2024
1 parent 070938b commit ea9a5da
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ public void onTrackException(AudioPlayer player, AudioTrack track, FriendlyExcep
if (
exception.getMessage().equals("Sign in to confirm you're not a bot")
|| exception.getMessage().equals("Please sign in")
|| exception.getMessage().equals("This video requires login.")
)
LOGGER.error(
"Track {} has failed to play: {}"
Expand Down

0 comments on commit ea9a5da

Please sign in to comment.