more precise language

This commit is contained in:
Hossein Shafagh 2020-10-22 17:54:46 -07:00 committed by GitHub
parent 97f80b79dc
commit 8610af8b83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -222,9 +222,9 @@ def handle_cis_response(response):
:return:
"""
if response.status_code == 404:
raise Exception("DigiCert: Order not in issued state.")
raise Exception("DigiCert: order not in issued state")
elif response.status_code == 406:
raise Exception("DigiCert: Wrong Header")
raise Exception("DigiCert: wrong header request format")
elif response.status_code > 399:
raise Exception("DigiCert rejected request with the error:" + response.text)