Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Updates to alerts that result in a 204 status returns None instead of recently updated Alert #159

Open
jzucker2 opened this issue May 1, 2017 · 1 comment

Comments

@jzucker2
Copy link

jzucker2 commented May 1, 2017

If while updating an alert, the alert is updated but no values are actually changed, a 204 status code is returned but the object returned by the update_alert function returns None instead of that recently updated alert

The 204 is not shown to users of the api so there is no way to know whether the operation failed or succeeded outside the SDK layer.

@drio
Copy link
Contributor

drio commented May 2, 2017

The 204 is not shown to users of the api so there is no way to know whether the operation failed or succeeded outside the SDK layer.

If there is an error in the response you'll get an exception. Let us know if that helps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants