Challenge: On challenge response failure, propagate error
This commit is contained in:
parent
455b616cb8
commit
2964006b79
1 changed files with 2 additions and 1 deletions
|
@ -432,7 +432,8 @@ export class ChallengeHandler {
|
||||||
|
|
||||||
log.info(`challenge: retry after ${retryAfter}ms`);
|
log.info(`challenge: retry after ${retryAfter}ms`);
|
||||||
this.options.onChallengeFailed(retryAfter);
|
this.options.onChallengeFailed(retryAfter);
|
||||||
return;
|
|
||||||
|
throw error;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.options.onChallengeSolved();
|
this.options.onChallengeSolved();
|
||||||
|
|
Loading…
Reference in a new issue