mirror of https://github.com/Nofated095/Q2TG.git
perf: 优化登录的错误提示
This commit is contained in:
parent
9b204aa283
commit
a5b885273d
|
@ -113,6 +113,7 @@ export default class SetupController {
|
|||
}
|
||||
catch (e) {
|
||||
this.log.error('登录 OICQ 失败', e);
|
||||
await this.setupService.informOwner(`登录失败\n${e.message}`);
|
||||
this.isInProgress = false;
|
||||
throw e;
|
||||
}
|
||||
|
@ -130,6 +131,7 @@ export default class SetupController {
|
|||
}
|
||||
catch (e) {
|
||||
this.log.error('创建 UserBot 失败', e);
|
||||
await this.setupService.informOwner(`登录失败\n${e.message}`);
|
||||
this.isInProgress = false;
|
||||
throw e;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue