潘志宝
2024-12-31 c903e9db81839c62dc3a046cfe3434d1a58726ce
iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/predict/impl/PredictModelHandlerImpl.java
@@ -142,11 +142,13 @@
            result.setModelResult(modelResult);
            result.setPredictTime(predictTime);
        } catch (ModelResultErrorException ex) {
            ex.printStackTrace();
//            ex.printStackTrace();
            log.error("模型结果异常", ex);
            throw ex;
        } catch (Exception ex) {
//            log.error("调用发生异常,异常信息为:{0}", ex.getMessage());
            ex.printStackTrace();
//            ex.printStackTrace();
            log.error("模型运行异常", ex);
            throw new ModelInvokeException(ex.getMessage());
        }
        return result;