From 7b1beb62b64099a858d87045fcd6fb9b2994eede Mon Sep 17 00:00:00 2001 From: Mathias Petermann Date: Wed, 11 Nov 2020 08:05:59 +0100 Subject: [PATCH] Add directory uri, to exception message --- lemur/plugins/lemur_acme/challenge_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemur/plugins/lemur_acme/challenge_types.py b/lemur/plugins/lemur_acme/challenge_types.py index e95e10d1..c530d7c5 100644 --- a/lemur/plugins/lemur_acme/challenge_types.py +++ b/lemur/plugins/lemur_acme/challenge_types.py @@ -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):