Fix rss feed parse error.
This commit is contained in:
parent
b5b1ea1c97
commit
6d5ca4a6fb
|
@ -588,6 +588,7 @@ Future<void> subIsolateEntryPoint(SendPort sendPort) async {
|
|||
try {
|
||||
p = RssFeed.parse(response.data);
|
||||
} catch (e) {
|
||||
developer.log('Parse error', error: e);
|
||||
sendPort.send([item.title, item.url, 6]);
|
||||
await Future.delayed(Duration(seconds: 2));
|
||||
sendPort.send([item.title, item.url, 4]);
|
||||
|
|
Loading…
Reference in New Issue