Expose exact response from digicert as error

This commit is contained in:
Curtis Castrapel 2019-05-15 13:36:40 -07:00
parent 8c73851708
commit e3c5490d25
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()