fix switching on null causing NPE

This commit is contained in:
7FM 2019-12-21 13:17:58 +01:00
parent 8cb32501e7
commit f57d9d43ce
1 changed files with 1 additions and 1 deletions

View File

@ -662,7 +662,7 @@ public class YoutubeStreamExtractor extends StreamExtractor {
}
}
return errorReason != null ? errorReason.toString() : null;
return errorReason != null ? errorReason.toString() : "";
}
/*//////////////////////////////////////////////////////////////////////////