diff src/com/five_ten_sg/connectbot/service/TerminalMonitor.java @ 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 4dcc071e1feb
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;
                     }