mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-12 20:51:48 +00:00
(improvement)(code) Replace e.printStackTrace() with logger.error. (#1156)
This commit is contained in:
@@ -32,8 +32,7 @@ public class LocalFileConfig {
|
||||
try {
|
||||
return HanlpHelper.getHanlpPropertiesPath();
|
||||
} catch (FileNotFoundException e) {
|
||||
log.warn("getDictDirectoryPrefixDir error: " + e);
|
||||
e.printStackTrace();
|
||||
log.error("getDictDirectoryPrefixDir error: ", e);
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user