# HG changeset patch # User Carl Byington # Date 1406767566 25200 # Node ID 5351641c8a4682fd3b6aa811cea017bfabc6f9b8 # Parent cdb3c9215a9b28c0c5df17222fda03c5882181a1 add ecdsa key support everywhere diff -r cdb3c9215a9b -r 5351641c8a46 src/com/five_ten_sg/connectbot/transport/SSH.java --- a/src/com/five_ten_sg/connectbot/transport/SSH.java Wed Jul 30 17:01:21 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/transport/SSH.java Wed Jul 30 17:46:06 2014 -0700 @@ -565,7 +565,9 @@ catch (IOException e) { Log.e(TAG, "Problem in SSH connection thread during authentication", e); // Display the reason in the text. - bridge.outputLine(e.getCause().getMessage()); + Throwable t = e.getCause(); + String m = (t == null) ? e.getMessage() : t.getMessage(); + bridge.outputLine(m); onDisconnect(); return; }