|
@@ -645,7 +645,8 @@ public class SyncExamDataCloudServiceProvider extends ControllerSupport implemen
|
|
|
|
|
|
String cameraInfos = examSyncCapture.getCameraInfos();
|
|
|
if(StringUtils.isNotBlank(cameraInfos) && cameraInfos.length()>=800){
|
|
|
- throw new StatusException("500","虚拟摄像头信息超长!");
|
|
|
+ cameraInfos = "[{\"name\":\"虚拟摄像头信息超长!\",\"pid\":\"\",\"vid\":\"\"}]";
|
|
|
+ log.error("虚拟摄像头信息超长!");
|
|
|
}
|
|
|
|
|
|
entity.setCameraInfos(cameraInfos);
|
|
@@ -677,7 +678,8 @@ public class SyncExamDataCloudServiceProvider extends ControllerSupport implemen
|
|
|
|
|
|
String cameraInfos = examCapture.getCameraInfos();
|
|
|
if(StringUtils.isNotBlank(cameraInfos) && cameraInfos.length()>=800){
|
|
|
- throw new StatusException("500","虚拟摄像头信息超长!");
|
|
|
+ cameraInfos = "[{\"name\":\"虚拟摄像头信息超长!\",\"pid\":\"\",\"vid\":\"\"}]";
|
|
|
+ log.error("虚拟摄像头信息超长!");
|
|
|
}
|
|
|
|
|
|
entity.setCameraInfos(cameraInfos);
|