|
@@ -153,7 +153,7 @@ public class ExamCaptureServiceImpl implements ExamCaptureService {
|
|
|
}
|
|
|
}
|
|
|
} catch (JSONException e) {
|
|
|
- e.printStackTrace();
|
|
|
+ LOG.error("获取虚拟摄像头名称失败",e);
|
|
|
throw new StatusException("ExamCaptureService-001", "获取虚拟摄像头名称失败");
|
|
|
}
|
|
|
|
|
@@ -217,7 +217,7 @@ public class ExamCaptureServiceImpl implements ExamCaptureService {
|
|
|
}
|
|
|
}
|
|
|
} catch (JSONException e) {
|
|
|
- e.printStackTrace();
|
|
|
+ LOG.error("获取虚拟摄像头名称失败",e);
|
|
|
throw new StatusException("ExamCaptureService-002", "获取虚拟摄像头名称失败");
|
|
|
}
|
|
|
|
|
@@ -252,7 +252,7 @@ public class ExamCaptureServiceImpl implements ExamCaptureService {
|
|
|
}
|
|
|
}
|
|
|
} catch (JSONException e) {
|
|
|
- e.printStackTrace();
|
|
|
+ LOG.error("json格式转换失败",e);
|
|
|
return false;
|
|
|
}
|
|
|
|