From 2cbd6a5431cee9ecaac6803bbb093a994d8915e2 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Wed, 13 Sep 2017 16:54:50 +0530 Subject: Print exception stack in dev mode CLI-14 Change-Id: I5df0d582e8c1885ac815e91af6d2536036143c34 Signed-off-by: Kanagaraj Manickam k00365106 --- framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/src/main/java/org/onap') diff --git a/framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java b/framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java index 4e892153..53c2b879 100644 --- a/framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java +++ b/framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java @@ -58,7 +58,7 @@ public class OnapCommandRegistrar { private boolean isInteractiveMode = false; - private boolean isDevMode = Boolean.getBoolean(System.getenv(Constants.CLI_DEV_MODE)); + private boolean isDevMode = Boolean.parseBoolean(System.getenv(Constants.CLI_DEV_MODE)); private OnapCommandParameterCache paramCache = OnapCommandParameterCache.getInstance(); -- cgit 1.2.3-korg