Handle empty API responses
Open
@hellais is already working on this.
Since Apr 6, 2020.
backend
bug
- Dominant language
- JavaScript
- Stars
- 92
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
Triggered by a Sentry crash report, looks like there are a few places where empty API responses are not handled correctly.
E.g We use the first item in the array response to /api/_/websites_networks?probe_cc=ER as the selected item in a dropdown. Doesn't work as expected when API response is empty.
Contributor guide
No contributing guide indexed for this repository
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.
Assessment
This issue has not been assessed yet.