Browse Source

Merge branch 'zouxuan' of http://git.dayaedu.com/yonge/cooleshow

zouxuan 3 years ago
parent
commit
1586b529a4

+ 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);