Update ChannelInfo.java
This commit is contained in:
parent
244cf52fe6
commit
1351820ef9
|
@ -63,13 +63,13 @@ public class ChannelInfo extends ListInfo<StreamInfoItem> {
|
|||
extractor.getLinkHandler(),
|
||||
extractor.getName());
|
||||
} catch (ParsingException e) {
|
||||
info = new ChannelInfo(extractor.getServiceId(),
|
||||
extractor.getLinkHandler(),
|
||||
"");
|
||||
String errorMessage = extractor.obtainErrorMessage();
|
||||
if (errorMessage != null) {
|
||||
throw new ContentNotAvailableException(errorMessage);
|
||||
}
|
||||
info = new ChannelInfo(extractor.getServiceId(),
|
||||
extractor.getLinkHandler(),
|
||||
"");
|
||||
info.addError(e);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue