Merge pull request #2791 from castrapel/digicert_expose_error

Expose exact response from digicert as error
This commit is contained in:
Curtis 2019-05-15 13:43:44 -07:00 committed by GitHub
commit 3680d523d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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()