Skip to content

Commit

Permalink
[Fixes #68] Added result code to exception when cannot parse ls
Browse files Browse the repository at this point in the history
  • Loading branch information
hierynomus committed Jan 30, 2013
1 parent 71746cc commit 9008ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/xebialabs/overthere/ssh/SshScpFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public LsResults getFileInfo() throws RuntimeIOException {
}

if (!results.exists) {
throw new RuntimeIOException("ls -ld " + getPath() + " returned unparseable output: " + capturedOutput.getOutput());
throw new RuntimeIOException("ls -ld " + getPath() + " returned " + errno + " but its output is unparseable: " + capturedOutput.getOutput());
}
} else {
results.exists = false;
Expand Down

0 comments on commit 9008ad3

Please sign in to comment.