From 93c1d4efbc85dbfde2a509c2467bd18f96838852 Mon Sep 17 00:00:00 2001 From: cool Date: Thu, 21 Mar 2024 10:17:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/plugin/service/info.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/plugin/service/info.ts b/src/modules/plugin/service/info.ts index c80f09e..2f67a0d 100644 --- a/src/modules/plugin/service/info.ts +++ b/src/modules/plugin/service/info.ts @@ -144,7 +144,7 @@ export class PluginService extends BaseService { .where({ status: 1, keyName: Equal(key) }) .getOne(); if (!info) { - throw new CoolCommException('插件不存在或已禁用'); + throw new CoolCommException(`插件[${key}]不存在或已禁用`); } }