From 6c304648dcd863c33386d0ba2b3e4fac27d541a0 Mon Sep 17 00:00:00 2001 From: mediabot-pt <295750538+mediabot-pt@users.noreply.github.com> Date: Wed, 1 Jul 2026 13:03:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Groovy=E9=94=99=E8=AF=AF=E6=B6=88?= =?UTF-8?q?=E6=81=AFGString=E5=BA=8F=E5=88=97=E5=8C=96=E4=BF=AE=E5=A4=8D+?= =?UTF-8?q?=E5=AE=9E=E9=99=85JSON=E6=88=AA=E6=96=AD=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E6=A0=87=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/mteam.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/mteam.groovy b/docs/mteam.groovy index 2782671..d989da9 100644 --- a/docs/mteam.groovy +++ b/docs/mteam.groovy @@ -9,7 +9,8 @@ Map parse(String content, String url) { try { root = json.readValue(content, Map) } catch (e) { - return [pageName: '解析失败', message: "JSON 解析异常: ${e.message}"] + def msg = e.message instanceof String ? e.message : e.toString() + return [pageName: '解析失败', message: 'JSON 解析异常: ' + msg] } if (url.contains('/api/member/profile'))