We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 30aad9d + 8a452d0 commit 89627d6Copy full SHA for 89627d6
1 file changed
src/cli/java/org/commcare/util/cli/CliMain.java
@@ -61,7 +61,13 @@ public static void main(String[] args) {
61
return;
62
}
63
64
- cliCommand.handle();
+ try {
65
+ cliCommand.handle();
66
+ } catch (Exception e) {
67
+ System.err.println("\nCommand failed with error:");
68
+ e.printStackTrace();
69
+ System.exit(-1);
70
+ }
71
72
73
private static CliCommand getCliCommand(String commandName) throws CliCommandNotFound {
0 commit comments