Skip to content

Commit

Permalink
Correctly handle exceptions when loading podcasts to prevent one fail…
Browse files Browse the repository at this point in the history
…ing load breaking the whole import.
  • Loading branch information
amugofjava committed Apr 16, 2024
1 parent 69a6767 commit 7f76162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/podcast/mobile_opml_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class MobileOPMLService extends OPMLService {
if (result != null) {
await podcastService.subscribe(result);
}
} on Exception {
} catch (e) {
log.fine('Failed to load podcast ${p.xmlUrl}');
}
}
Expand Down

0 comments on commit 7f76162

Please sign in to comment.