Merge pull request #2791 from castrapel/digicert_expose_error
Expose exact response from digicert as error
This commit is contained in:
commit
3680d523d4
|
@ -187,7 +187,7 @@ def handle_cis_response(response):
|
|||
:return:
|
||||
"""
|
||||
if response.status_code > 399:
|
||||
raise Exception(response.json()['errors'][0]['message'])
|
||||
raise Exception(response.text)
|
||||
|
||||
return response.json()
|
||||
|
||||
|
|
Loading…
Reference in New Issue