Handle API query errors gracefully and inform the user of failures #473
Labels
size: medium
Medium-size issue
tool: Capture Matching
Relates to the Capture Matching tool
tool: Captures
Relates to the capture data tool (Captures page, formerly Trees)
tool: Dashboard
Relates to the Admin Panel dashboard (Home page)
tool: Earnings
Relates to the Earnings tool (formerly Payments)
tool: Growers
Relates to the Grower Management tool (Growers page, formerly Planters)
tool: Species
Relates to the Species management tool
tool: User Manager
Relates to the User Manager tool
tool: Verify
Relates to the capture verification tool (Verify page)
type: enhancement
New feature or request
We've had several instances recently of errors in API responses not being handled gracefully and not being reported to the user.
In several places, we have no error handling at all, so either quietly ignore errors or assume success, often resulting in unexpected behaviour.
Ideally, we would have a mechanism in the Admin Panel to allow users to report errors directly when they occur, along with the network request and response details, but a good start would be graceful handling of failures.
The text was updated successfully, but these errors were encountered: