seamapi / public-tracker

0 stars 0 forks source link

Errors setting access codes due to a Device Provider Outage should have a relevant outage error #5

Closed seveibar closed 1 year ago

seveibar commented 1 year ago

Prerequisites

Description

When there is a device provider outage, e.g. a 502 in an internal API response from the device provider, we should throw an outage error so customers can display a relevant error for their hosts/guests.

Steps to Reproduce

Internal Schlage 502 requests, most likely due to temporary outage.

Expected behavior: Some specific error in addition to failed_to_set_on_device

Actual behavior: Only failed_to_set_on_device with no specific error

Additional Information