Challenge: On challenge response failure, propagate error

This commit is contained in:
Scott Nonnenberg 2024-05-02 10:04:14 -07:00 committed by GitHub
parent 455b616cb8
commit 2964006b79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -432,7 +432,8 @@ export class ChallengeHandler {
log.info(`challenge: retry after ${retryAfter}ms`);
this.options.onChallengeFailed(retryAfter);
return;
throw error;
}
this.options.onChallengeSolved();