Add directory uri, to exception message

This commit is contained in:
Mathias Petermann 2020-11-11 08:05:59 +01:00
parent 7a7f05ec9e
commit 7b1beb62b6
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ class AcmeHttpChallenge(AcmeChallenge):
current_app.logger.info("{} already validated, skipping".format(authz.body.identifier.value))
if len(chall) == 0 and not all_pre_validated:
raise Exception('HTTP-01 challenge was not offered by the CA server.')
raise Exception('HTTP-01 challenge was not offered by the CA server at {}'.format(orderr.uri))
elif not all_pre_validated:
validation_target = None
for option in json.loads(issuer_options["authority"].options):