diff --git a/sop-website/sop-website-server/src/main/java/com/gitee/sop/websiteserver/controller/SandboxV2Controller.java b/sop-website/sop-website-server/src/main/java/com/gitee/sop/websiteserver/controller/SandboxV2Controller.java index 0d6d59f2..cccd6859 100644 --- a/sop-website/sop-website-server/src/main/java/com/gitee/sop/websiteserver/controller/SandboxV2Controller.java +++ b/sop-website/sop-website-server/src/main/java/com/gitee/sop/websiteserver/controller/SandboxV2Controller.java @@ -103,7 +103,8 @@ public class SandboxV2Controller { try { sign = AlipaySignature.rsa256Sign(content, privateKey, "utf-8"); } catch (AlipayApiException e) { - throw new RuntimeException("构建签名失败"); + log.error("构建签名失败", e); + throw new RuntimeException("构建签名失败", e); } params.put("sign", sign);