mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 13:28:34 +00:00
Add log
This commit is contained in:
@@ -114,6 +114,10 @@ export const pkiAcmeChallengeServiceFactory = ({
|
|||||||
await acmeChallengeDAL.markAsValidCascadeById(challengeId);
|
await acmeChallengeDAL.markAsValidCascadeById(challengeId);
|
||||||
} catch (exp) {
|
} catch (exp) {
|
||||||
if (retryCount >= 2) {
|
if (retryCount >= 2) {
|
||||||
|
logger.error(
|
||||||
|
exp,
|
||||||
|
`Last attempt to validate ACME challenge response failed, marking ${challengeId} challenge as invalid`
|
||||||
|
);
|
||||||
// This is the last attempt to validate the challenge response, if it fails, we mark the challenge as invalid
|
// This is the last attempt to validate the challenge response, if it fails, we mark the challenge as invalid
|
||||||
await acmeChallengeDAL.markAsInvalidCascadeById(challengeId);
|
await acmeChallengeDAL.markAsInvalidCascadeById(challengeId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user