Skip to content

Commit

Permalink
Remove password file path from logs
Browse files Browse the repository at this point in the history
  • Loading branch information
usmansaleem committed Aug 29, 2023
1 parent 9d47532 commit ada286b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class SecpWalletBulkloader {
public static MappedResults<ArtifactSigner> loadWalletsUsingPasswordFileOrDir(
final Path walletsDirectory, final Path passwordsFileOrDirectory) {
if (!Files.exists(passwordsFileOrDirectory)) {
LOG.error("Password file or directory doesn't exist. {}", passwordsFileOrDirectory);
LOG.error("Password file or directory doesn't exist.");
return MappedResults.errorResult();
}

Expand All @@ -62,8 +62,7 @@ public static MappedResults<ArtifactSigner> loadWalletsUsingPasswordFileOrDir(
return MappedResults.errorResult();
}
} else {
LOG.error(
"Expecting either regular password file or a directory. {}", passwordsFileOrDirectory);
LOG.error("Unexpected password file or directory.");
return MappedResults.errorResult();
}

Expand Down

0 comments on commit ada286b

Please sign in to comment.