Skip to content

Commit

Permalink
Changes per cmnts
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaditya Sharma committed Jun 10, 2019
1 parent 476780c commit 845ee5b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions qds_sdk/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,8 @@ def _handle_error(response):
sys.stderr.write(response.text + "\n")
raise RetryWithDelay(response)
elif code == 449:
message = "Data requested is unavailable. Retrying ..."
sys.stderr.write(response.text + "\n")
sys.stderr.write(message + "\n")
raise RetryWithDelay(response, message)
raise RetryWithDelay(response, "Data requested is unavailable. Retrying ...")
elif 401 <= code < 500:
sys.stderr.write(response.text + "\n")
raise ClientError(response)
Expand Down

0 comments on commit 845ee5b

Please sign in to comment.