设备接入出现异常时 返回具体错误提示
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user