Make sure to set a non-zero exit code in case of exception - so the launcher shows up again..

This commit is contained in:
cpw 2015-06-20 12:59:45 -04:00
parent 489b2bd23b
commit 2abc4a777c
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View file

@ -27,3 +27,4 @@ nbproject
# generated # generated
/repo/ /repo/
/bin/

View file

@ -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);
} }
} }
} }