Expose exact response from digicert as error
This commit is contained in:
parent
8c73851708
commit
e3c5490d25
|
@ -187,7 +187,7 @@ def handle_cis_response(response):
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
if response.status_code > 399:
|
if response.status_code > 399:
|
||||||
raise Exception(response.json()['errors'][0]['message'])
|
raise Exception(response.text)
|
||||||
|
|
||||||
return response.json()
|
return response.json()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue