Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message enhancement in SshScpFile.getFileInfo #68

Closed
farrault opened this issue Jan 29, 2013 · 1 comment
Closed

Error message enhancement in SshScpFile.getFileInfo #68

farrault opened this issue Jan 29, 2013 · 1 comment

Comments

@farrault
Copy link

For a currently unknown reason, "ls -ld" through sudo connection always returns 0 on one of my target server, event if the file doesn't exist

In this case, SshScpFile.getFileInfo throws this errror :
"ls -ld /inexistent/file returned unparseable output: xxxx" (on my system xxxx is not empty, see #46 )

To ease diagnostic in such broken system, you should be more explicit, like :
"ls -ld /inexistent/file returned 0 but its output is unparseable : xxxx"

@hierynomus
Copy link
Contributor

Thx! We'll have a look. Pull request is always welcome ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants