From 563163a5affdc952f5ef5bd3345c8a0f153d11c0 Mon Sep 17 00:00:00 2001 From: guofeihu <3347277866@qq.com> Date: Thu, 13 Jun 2024 11:12:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E6=8E=A5=E5=85=A5=E5=87=BA?= =?UTF-8?q?=E7=8E=B0=E5=BC=82=E5=B8=B8=E6=97=B6=20=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E5=85=B7=E4=BD=93=E9=94=99=E8=AF=AF=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/njcn/access/service/impl/CsDeviceServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iot-access/access-boot/src/main/java/com/njcn/access/service/impl/CsDeviceServiceImpl.java b/iot-access/access-boot/src/main/java/com/njcn/access/service/impl/CsDeviceServiceImpl.java index 3fbc62c..38cf6d5 100644 --- a/iot-access/access-boot/src/main/java/com/njcn/access/service/impl/CsDeviceServiceImpl.java +++ b/iot-access/access-boot/src/main/java/com/njcn/access/service/impl/CsDeviceServiceImpl.java @@ -419,7 +419,7 @@ public class CsDeviceServiceImpl implements ICsDeviceService { logDto.setResult(0); logDto.setFailReason(e.getMessage()); csLogsFeignClient.addUserLog(logDto); - throw new BusinessException(CommonResponseEnum.FAIL); + throw new BusinessException(e.getMessage()); } return "success"; } catch (BusinessException e) {