INT-3954: Nested Exception in SFTP remove()
JIRA: https://jira.spring.io/browse/INT-3954 Left `e.toString` in the message for now; to avoid a breaking change.
This commit is contained in:
committed by
Artem Bilan
parent
51a16b2f45
commit
408b8ca5f3
@@ -80,7 +80,8 @@ public class SftpSession implements Session<LsEntry> {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch (SftpException e) {
|
catch (SftpException e) {
|
||||||
throw new NestedIOException("Failed to remove file: "+ e);
|
// TODO: in 5.0 remove e.toString() INT-3913
|
||||||
|
throw new NestedIOException("Failed to remove file: " + e.toString(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user