Skip to content

Commit ea9a5da

Browse files
committed
Add another message to onTrackError
1 parent 070938b commit ea9a5da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/jagrosh/jmusicbot/audio/AudioHandler.java

+1
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ public void onTrackException(AudioPlayer player, AudioTrack track, FriendlyExcep
209209
if (
210210
exception.getMessage().equals("Sign in to confirm you're not a bot")
211211
|| exception.getMessage().equals("Please sign in")
212+
|| exception.getMessage().equals("This video requires login.")
212213
)
213214
LOGGER.error(
214215
"Track {} has failed to play: {}"

0 commit comments

Comments
 (0)