Skip to content

Commit 9b3382a

Browse files
committed
Won't retry ConfigException while uploading files
1 parent 9db97d3 commit 9b3382a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/org/embulk/output/sftp/SftpUtils.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ public Void call() throws IOException
184184
@Override
185185
public boolean isRetryableException(Exception exception)
186186
{
187+
if (exception instanceof ConfigException) {
188+
return false;
189+
}
187190
return true;
188191
}
189192

0 commit comments

Comments
 (0)