mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-27 07:20:33 +05:30
fix switching on null causing NPE
This commit is contained in:
parent
8cb32501e7
commit
f57d9d43ce
@ -662,7 +662,7 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
||||
}
|
||||
}
|
||||
|
||||
return errorReason != null ? errorReason.toString() : null;
|
||||
return errorReason != null ? errorReason.toString() : "";
|
||||
}
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user