digital-land / technical-documentation

Technical Documentation for the planning data service.
https://digital-land.github.io/technical-documentation/index.html
0 stars 0 forks source link

Sentry Issue: Handle OS JSON better for non-2XX codes #83

Open Ben-Hodgkiss opened 1 month ago

Ben-Hodgkiss commented 1 month ago

Overview

Sentry has noticed an unhandled error on the production platform that occurs when the Ordnance Survey JSON cannot be reached, producing a 504 error. This is likely because the OS site is temporarily unavailable.

To handle this, we should allow up to 3 retries when this error is found.

If after 3 retries, the OS JSON is still unavailable, we should handle this error and give a message.

Tech Approach

Acceptance Criteria/Tests

Resourcing