Skip to content

Commit baebbc6

Browse files
author
Robin Duda
committed
catch all desktop/display exceptions.
1 parent d1f2fec commit baebbc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/codingchili/ApplicationLauncher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private void waitForElasticServerAvailability() {
6666
logger.openingBrowser(message.body().toString());
6767
try {
6868
Desktop.getDesktop().browse(new URI(Configuration.getWebsiteURL()));
69-
} catch (IOException | URISyntaxException e) {
69+
} catch (Exception e) {
7070
logger.onError(e);
7171
}
7272
consumer.pause();

0 commit comments

Comments
 (0)