完善提示

This commit is contained in:
cool 2024-03-21 10:17:28 +08:00
parent f1c789ec63
commit 93c1d4efbc

View File

@ -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}]不存在或已禁用`);
}
}