zouxuan 3 سال پیش
والد
کامیت
b8ce31e126

+ 1 - 1
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/wordfilter/WordContext.java

@@ -54,7 +54,7 @@ public class WordContext {
         try {
             this.blackList = FileUtils.readFileToString(new File("/root/blacklist.txt"), "UTF-8");
         } catch (IOException e) {
-            throw new RuntimeException(e);
+            log.error("读取黑名单词库失败", e);
         }
 //        this.blackList = sysConfigService.findConfigValue(SysConfigConstant.BLACK_LIST);
 //        this.whiteList = sysConfigService.findConfigValue(SysConfigConstant.WHITE_LIST);