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