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
Pipeline #383 passed with stage
in 21 seconds
......@@ -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");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment