changeset 412:057854c77217

wait for monitor socket to be created
author Carl Byington <carl@five-ten-sg.com>
date Fri, 24 Oct 2014 17:49:50 -0700
parents 8bff0bfaec3a
children da2814f6f05e
files src/com/five_ten_sg/connectbot/service/TerminalMonitor.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java	Fri Oct 24 17:48:43 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java	Fri Oct 24 17:49:50 2014 -0700
@@ -180,7 +180,7 @@
                         Thread.sleep(100);
                         monitor_socket = new Socket(serverAddr, MONITORPORT);
                     }
-                    catch (IOException e) {
+                    catch (Exception e) {
                         Log.e(TAG, "exception connecting to monitor socket", e);
                         tries = tries + 1;
                     }