#2 Supply more meaningful exception messages

open
nobody
None
5
2004-10-15
2004-10-15
Thomas Bierhance
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-12

    Guys, do you have any plans to address this request? It's a blocker to bug in Eclipse/Orion project: https://bugs.eclipse.org/bugs/show_bug.cgi?id=349034. Is there a way I can help moving it forward?

     
  • 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 ?