Can this issue be reproduced in a sandbox workspace? No
Does this issue represent a regression? Did it previously work? No
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
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 errorAdditional Information