Baseflow / flutter_cache_manager

Generic cache manager for flutter
https://baseflow.com
MIT License
738 stars 427 forks source link

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

Open karatekid430 opened 1 month ago

karatekid430 commented 1 month ago

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

Should not crash or pause the app