python-librato icon indicating copy to clipboard operation
python-librato copied to clipboard

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

Open jzucker2 opened this issue 8 years ago • 1 comments

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.

jzucker2 avatar May 01 '17 22:05 jzucker2

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.

drio avatar May 02 '17 19:05 drio