print stacktrace when unable to load launcher.jar
This commit is contained in:
parent
577938a1fa
commit
f19623564c
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ public class Commandline {
|
||||||
main.invoke(null, nargs);
|
main.invoke(null, nargs);
|
||||||
} catch (Exception x) {
|
} catch (Exception x) {
|
||||||
// unable to get Helma installation dir from launcher jar
|
// unable to get Helma installation dir from launcher jar
|
||||||
|
x.printStackTrace();
|
||||||
System.err.println("Unable to get Helma installation directory: ");
|
System.err.println("Unable to get Helma installation directory: ");
|
||||||
System.err.println(x.getMessage());
|
System.err.println(x.getMessage());
|
||||||
System.exit(2);
|
System.exit(2);
|
||||||
|
|
Loading…
Add table
Reference in a new issue