5m4ck3r commited on
Commit
c153d6e
1 Parent(s): d0dd26e

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -22,7 +22,7 @@ def read_image_from_stream(image_data, subscription_key, endpoint):
22
  read_response_headers = response.headers
23
  operation_location = read_response_headers["Operation-Location"]
24
  else:
25
- raise Exception(f"Unexpected response status: {response.status_code}")
26
 
27
  return operation_location
28
 
 
22
  read_response_headers = response.headers
23
  operation_location = read_response_headers["Operation-Location"]
24
  else:
25
+ raise Exception(f"Unexpected response status: {response.status_code}, {response.text}")
26
 
27
  return operation_location
28