소스 검색

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

zouxuan 3 년 전
부모
커밋
1586b529a4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/wordfilter/WordContext.java

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