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
Offen
- Vorherrschende Sprache
- Dart
- Sterne
- 809
- Forks
- 510
- Ø Merge
- 6 Min.
- Gemergte PRs (30 T.)
- 1
Beschreibung
try {
return await DefaultCacheManager().getSingleFile(url);
} catch (e) {
debugPrint('Failed to load image: ${e}');
return null;
}
Should not crash or pause the app
Beitragsleitfaden
Rechercherichtung
Start at the DefaultCacheManager().getSingleFile(url) entry point and reproduce the failure in debug mode using the try/catch shown in the issue. Trace why the error pauses or crashes the app instead of reaching the catch block; done means the failure is caught without pausing or crashing the app.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- dart, flutter
- Bereich
- mobile-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100