mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
suppress superfluous errors
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user