v3.3.1 DefaultCacheManager().getSingleFile(url) throws and pauses the app in debug mode, rather than let the error be caught
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- dart, flutter
- Domain
- mobile-dev
Research direction
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.
Written by the indexing model from the issue text.
Description
try {
return await DefaultCacheManager().getSingleFile(url);
} catch (e) {
debugPrint('Failed to load image: ${e}');
return null;
}
Should not crash or pause the app
- Dominant language
- Dart
- Stars
- 810
- Forks
- 510
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Baseflow/flutter_cache_manager
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Baseflow/flutter_cache_manager#450 · 9 comments · 8 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
Baseflow/flutter_cache_manager#507 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
Baseflow/flutter_cache_manager#501 · 1 comment · 3 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Baseflow/flutter_cache_manager#500 · 1 comment · 3 reactions ·
All issues in Baseflow/flutter_cache_manager
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
AOSSIE-Org/Ell-ena#332 ·
-
ui/ux
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
HemantKArya/BloomeeTunes#489 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AppFlowy-IO/appflowy-editor#1241 ·
-
error Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100