From 78bb36a2bb2064708f156a4a076aad7f92e928ad Mon Sep 17 00:00:00 2001 From: linyuchen Date: Tue, 7 May 2024 17:46:47 +0800 Subject: [PATCH] fix: Music sign return null then throw exception --- src/onebot11/action/msg/SendMsg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onebot11/action/msg/SendMsg.ts b/src/onebot11/action/msg/SendMsg.ts index 16c64db..b0c25a2 100644 --- a/src/onebot11/action/msg/SendMsg.ts +++ b/src/onebot11/action/msg/SendMsg.ts @@ -442,7 +442,7 @@ export class SendMsg extends BaseAction { try { jsonContent = await new MusicSign(musicSignUrl).sign(postData) if (!jsonContent){ - throw '音乐消息生成失败,可能是签名服务器问题, 请检查提交内容' + throw '音乐消息生成失败,提交内容有误或者签名服务器签名失败' } } catch (e) { throw `签名音乐消息失败:${e}`