mirror of
https://github.com/readrops/Readrops.git
synced 2025-02-03 12:07:35 +01:00
replace callback by RSSQueryResult object
This commit is contained in:
parent
710eb18dc0
commit
604c56ebc0
@ -133,8 +133,7 @@ public class RSSQuery {
|
||||
if (type == RSSType.RSS_UNKNOWN) {
|
||||
RSSType contentType = getContentRSSType(xml);
|
||||
if (contentType == RSSType.RSS_UNKNOWN) {
|
||||
callback.onSyncFailure(new Exception("Unknown content format"));
|
||||
return null;
|
||||
return new RSSQueryResult(new Exception("Unknown content format"));
|
||||
} else
|
||||
type = contentType;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user