Skip to content

Commit

Permalink
Remove duplicate "for" (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
JirayuSrisawat-Github authored Dec 2, 2024
1 parent 7e8b4f7 commit fb542e6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,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"));
}

Expand All @@ -130,7 +130,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()));
}

Expand Down

0 comments on commit fb542e6

Please sign in to comment.