#2 Supply more meaningful exception messages

open
nobody
None
5
2004-10-15
2004-10-15
No

I have the impression that exception messages are not
very informative in general. This makes it very
difficult to track down configuration problems.

One example: I tried to connect to my laptop running
Suse Linux using the examples and got a JSchException
with the message "Auth fail". After trying a lot of
things I finally encountered (debugging the sourcecode)
that my sshd reported to supply the authentication
methods "publickey" and "keyboard-interactive".
However, the example ui was set up to support the
"password" method only. This should be reflected in the
exception message.

Discussion

  • Tomasz Zarna

    Tomasz Zarna - 2011-09-29

    Does it make any sense to attach a patch here? How do you handle contributions? I'm asking just in case, if I had a patch would it be reviewed at least ?

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks