From b482efaf698d5fd3920ff63ccde1c819f9eb34ba Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期四, 26 十二月 2024 16:50:12 +0800
Subject: [PATCH] 修改菜单报错bug

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/predict/impl/PredictModelHandlerImpl.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/predict/impl/PredictModelHandlerImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/predict/impl/PredictModelHandlerImpl.java
index cc8681b..6d1ebbd 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/predict/impl/PredictModelHandlerImpl.java
+++ b/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;

--
Gitblit v1.9.3