From a5b885273d3e5d4c28e1f3a09ea3c7d1e1f420c9 Mon Sep 17 00:00:00 2001 From: Clansty Date: Wed, 8 Nov 2023 15:50:06 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E7=9A=84=E9=94=99=E8=AF=AF=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/SetupController.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controllers/SetupController.ts b/src/controllers/SetupController.ts index 598a3c12..3368e23c 100644 --- a/src/controllers/SetupController.ts +++ b/src/controllers/SetupController.ts @@ -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; }