improved error logging and handling
This commit is contained in:
@@ -92,7 +92,7 @@ class FeedParser {
|
||||
tags: tags,
|
||||
);
|
||||
default:
|
||||
throw Exception();
|
||||
throw Exception('Unknown feed type in readGeneralData: ${_feed.runtimeType}');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -209,7 +209,7 @@ class FeedParser {
|
||||
);
|
||||
}).toList();
|
||||
default:
|
||||
throw Exception();
|
||||
throw Exception('Unknown feed type in readArticles: ${_feed.runtimeType}');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user