suppress superfluous errors

This commit is contained in:
benfry
2011-06-27 04:06:49 +00:00
parent 79bb6929a0
commit eb13442180
+6 -1
View File
@@ -62,7 +62,12 @@ public class UpdateCheck {
Thread.sleep(30 * 1000); // give the PDE time to get rolling
updateCheck();
} catch (Exception e) {
e.printStackTrace();
String msg = e.getMessage();
if (msg.contains("UnknownHostException")) {
// nah, do nothing.. this happens when not connected to the net
} else {
e.printStackTrace();
}
}
}
}).start();