diff --git a/common/src/main/java/dev/lavalink/youtube/clients/skeleton/NonMusicClient.java b/common/src/main/java/dev/lavalink/youtube/clients/skeleton/NonMusicClient.java index 146a349..5fb0c12 100644 --- a/common/src/main/java/dev/lavalink/youtube/clients/skeleton/NonMusicClient.java +++ b/common/src/main/java/dev/lavalink/youtube/clients/skeleton/NonMusicClient.java @@ -113,7 +113,7 @@ protected JsonBrowser loadTrackInfoFromInnertube(@NotNull YoutubeAudioSourceMana // An exception will be thrown if we can't handle it. if (playabilityStatus == PlayabilityStatus.NON_EMBEDDABLE) { if (isEmbedded()) { - throw new FriendlyException("Loading information for for video failed", Severity.COMMON, + throw new FriendlyException("Loading information for video failed", Severity.COMMON, new RuntimeException("Non-embeddable video cannot be loaded by embedded client")); } @@ -124,7 +124,7 @@ protected JsonBrowser loadTrackInfoFromInnertube(@NotNull YoutubeAudioSourceMana JsonBrowser videoDetails = json.get("videoDetails"); if (videoDetails.isNull()) { - throw new FriendlyException("Loading information for for video failed", Severity.SUSPICIOUS, + throw new FriendlyException("Loading information for video failed", Severity.SUSPICIOUS, new RuntimeException("Missing videoDetails block, JSON: " + json.format())); }