Skip to content

Commit

Permalink
Fix #3043 Can't save blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
mezz committed Jan 19, 2023
1 parent bd1d5e5 commit 78ec32b
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -53,9 +53,8 @@ private void loadBlacklistConfig() {
private void saveBlacklist() {
if (blacklistConfigFile != null) {
try {
Files.createFile(blacklistConfigFile);
LOGGER.debug("Created blacklist config file: {}", blacklistConfigFile);
Files.write(blacklistConfigFile, blacklist);
LOGGER.debug("Saved blacklist config file: {}", blacklistConfigFile);
} catch (IOException e) {
LOGGER.error("Failed to save blacklist to file {}", blacklistConfigFile, e);
}
Expand Down

0 comments on commit 78ec32b

Please sign in to comment.