developmentseed / developmentseed/observe

Add better message for "network error" while uploading changes

Open
#276 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
66
Forks
4
PR merge metrics
No merged PRs in 30d

Description

How to replicate:

- Start the app connected to the internet
- Choose an existing node
- Turn off any network access (enter flight mode)
- Delete the selected node and confirm
- Go to "Your Contributions" screen

The message related to this error is:

`Unexpected Error: UploadNetworkError"

It seems that there is already a better error message for that, but somehow it is not displaying in this case:

https://github.com/developmentseed/observe/blob/0122d549376cc6e517205a168e96a0b07c378f2e/app/utils/errors.js#L27

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.