| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -62,7 +62,12 @@ public void run() { | |||
| 62 | 62 | Thread.sleep(30 * 1000); // give the PDE time to get rolling | |
| 63 | 63 | updateCheck(); | |
| 64 | 64 | } catch (Exception e) { | |
| 65 | - e.printStackTrace(); | ||
| 65 | + String msg = e.getMessage(); | ||
| 66 | + if (msg.contains("UnknownHostException")) { | ||
| 67 | + // nah, do nothing.. this happens when not connected to the net | ||
| 68 | + } else { | ||
| 69 | + e.printStackTrace(); | ||
| 70 | + } | ||
| 66 | 71 | } | |
| 67 | 72 | } | |
| 68 | 73 | }).start(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments