Explorar el Código

Merge branch 'branch-nt-2023-1-31' of https://git.flowbb.cn/RK-Dev/fqgz-server into branch-nt-2023-1-31

humuyu hace 2 años
padre
commit
5c880caa83

+ 2 - 2
eladmin-system/src/main/java/me/zhengjie/base/face/FaceCompareUtil.java

@@ -89,8 +89,8 @@ public class FaceCompareUtil {
             if (errorCode != ErrorInfo.MOK.getValue()) {
                 throw new RuntimeException("初始化引擎失败");
             }
-        }catch (Exception e){
-            e.printStackTrace();
+        }catch (UnsatisfiedLinkError e){
+            log.error("加载第三方库文件失败:"+e.getLocalizedMessage());
         }
     }