Unverified Commit 4405a4aa authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

Desktop.isDesktopSupported throws an error, not an exception

parent bf08549d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ public class Main {
		try {
			CAN_BROWSE = Desktop.isDesktopSupported()
			&& Desktop.getDesktop().isSupported(Desktop.Action.BROWSE);
		} catch (Exception ex) {}
		} catch (Error | Exception ex) {}
	}

	private static final String CI_SERVER_HOST = System.getenv("CI_SERVER_HOST");