FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

suppress superfluous errors · orgicus/processing@e41c73b · GitHub

Repository navigation

Commit e41c73b

Browse files
committed
suppress superfluous errors
1 parent ba0f5c6 commit e41c73b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎app/src/processing/app/UpdateCheck.java‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,12 @@ public void run() {
6262
Thread.sleep(30 * 1000); // give the PDE time to get rolling
6363
updateCheck();
6464
} 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+
}
6671
}
6772
}
6873
}).start();

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL