Browse Source

北仑:模型失败原因打印

wangsy 4 years ago
parent
commit
15682d6a9d

+ 1 - 0
kernel/src/main/java/com/lantone/qc/kernel/analysis/QCAnalysis.java

@@ -47,6 +47,7 @@ public class QCAnalysis {
         try {
             aiAnalyze.aiProcess(inputInfo);
         } catch (Exception e) {
+            log.error(e.getMessage(), e);
             System.out.println("出错病历号:" + inputInfo.getMedicalRecordInfoDoc().getStructureMap().get("behospitalCode"));
             throw new AIException("AI模型执行错误:" + e.getMessage());
         }