diff options
author | 2017-09-13 16:54:50 +0530 | |
---|---|---|
committer | 2017-09-13 17:06:22 +0530 | |
commit | 2cbd6a5431cee9ecaac6803bbb093a994d8915e2 (patch) | |
tree | b065d829e74add665a8345a4395f211f6bf92114 /framework/src/main/java/org/onap | |
parent | bb9a334dc4ab33a90533fc5d35508db3edfa34b6 (diff) |
Print exception stack in dev mode
CLI-14
Change-Id: I5df0d582e8c1885ac815e91af6d2536036143c34
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework/src/main/java/org/onap')
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |