From 2964006b79d8fc068469c4c52d13a91b975ca78b Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Thu, 2 May 2024 10:04:14 -0700 Subject: [PATCH] Challenge: On challenge response failure, propagate error --- ts/challenge.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/challenge.ts b/ts/challenge.ts index 4275ec46e83f..f4b35fe583a4 100644 --- a/ts/challenge.ts +++ b/ts/challenge.ts @@ -432,7 +432,8 @@ export class ChallengeHandler { log.info(`challenge: retry after ${retryAfter}ms`); this.options.onChallengeFailed(retryAfter); - return; + + throw error; } this.options.onChallengeSolved();