aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/org/connectbot/service/TerminalBridge.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/org/connectbot/service/TerminalBridge.java b/src/org/connectbot/service/TerminalBridge.java
index 41d80d3..dd95cac 100644
--- a/src/org/connectbot/service/TerminalBridge.java
+++ b/src/org/connectbot/service/TerminalBridge.java
@@ -293,8 +293,10 @@ public class TerminalBridge implements VDUDisplay, OnKeyListener, InteractiveCal
connection.connect(new HostKeyVerifier());
} catch (IOException e) {
Log.e(TAG, "Problem in SSH connection thread during authentication", e);
- // TODO report cause to user:
- Log.d(TAG, String.format("Cause is: %s", e.getCause().toString()));
+
+ // Display the reason in the text.
+ outputLine(e.getCause().getMessage());
+
dispatchDisconnect(false);
return;
}