chore: error message clearer

This commit is contained in:
Elysia 2023-04-22 14:07:41 +07:00
parent e5ee2831f0
commit f363f161da

View File

@ -466,7 +466,8 @@ new DiscordAuthWebsocket({
}
});
if (!res && this.captchaCache) {
this._logger('debug', 'Detect captcha... Try call captchaHandler()', this.captchaCache);
this._logger('default', 'Captcha is detected. Please solve the captcha to continue.');
this._logger('debug', 'Try call captchaHandler()', this.captchaCache);
const token = await this.options.captchaHandler(this.captchaCache);
return this._findRealToken(token);
}