diff --git a/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java b/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java index 6ddde3f..c205f21 100644 --- a/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java +++ b/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java @@ -575,11 +575,13 @@ public class DeviceProxyService { mediaStatus(); } + @SneakyThrows @Override public void onProcessFailed(ExecuteException e) { hasResult = true; log.error("ffmpeg 执行失败", e); close(); + throw e; } }