Make sure to set a non-zero exit code in case of exception - so the launcher shows up again..
This commit is contained in:
parent
489b2bd23b
commit
2abc4a777c
2 changed files with 2 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -27,3 +27,4 @@ nbproject
|
||||||
|
|
||||||
# generated
|
# generated
|
||||||
/repo/
|
/repo/
|
||||||
|
/bin/
|
||||||
|
|
|
@ -135,6 +135,7 @@ public class Launch {
|
||||||
mainMethod.invoke(null, (Object) argumentList.toArray(new String[argumentList.size()]));
|
mainMethod.invoke(null, (Object) argumentList.toArray(new String[argumentList.size()]));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LogWrapper.log(Level.ERROR, e, "Unable to launch");
|
LogWrapper.log(Level.ERROR, e, "Unable to launch");
|
||||||
|
System.exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue