Baseflow / Baseflow/flutter_cache_manager

v3.3.1 DefaultCacheManager().getSingleFile(url) throws and pauses the app in debug mode, rather than let the error be caught

Open
#456 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
809
Forks
510
Avg merge
6m
Merged PRs (30d)
1

Description

try {
return await DefaultCacheManager().getSingleFile(url);
} catch (e) {
debugPrint('Failed to load image: ${e}');
return null;
}

Should not crash or pause the app

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.