Skip to content

Commit 280c5d1

Browse files
authored
Merge pull request #39 from embulk/hide-password-in-log
Hide password in log when parse failure happens
2 parents 412f7f1 + b338fcd commit 280c5d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/embulk/input/sftp/SingleFileProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public InputStreamWithHints call() throws FileSystemException
5555
{
5656
FileObject file = manager.resolveFile(key, fsOptions);
5757
return new InputStreamWithHints(
58-
file.getContent().getInputStream(), key);
58+
file.getContent().getInputStream(), file.getPublicURIString());
5959
}
6060

6161
@Override

0 commit comments

Comments
 (0)