ooni / ooni/explorer

Handle empty API responses

Open
#198 1 comment 0 reactions 2 assignees View on GitHub

@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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.