-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
This async method uses fetch but doesn’t catch network errors (e.g., if the server is down). If it fails, the app might hang or behave oddly. Suggestion: Add a try-catch, e.g., try { const response = await fetch(...); } catch (e) { this.errorMsg = 'Server unreachable'; this.showToast('Network error', 'error'); }.
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed