Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SAREF
saref-pipeline
Commits
4405a4aa
Unverified
Commit
4405a4aa
authored
Jul 26, 2021
by
Maxime Lefrançois
Browse files
Desktop.isDesktopSupported throws an error, not an exception
parent
bf08549d
Pipeline
#383
passed with stage
in 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/fr/mines_stetienne/ci/saref/Main.java
View file @
4405a4aa
...
...
@@ -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"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment