diff options
author | 2018-03-23 08:52:18 +0000 | |
---|---|---|
committer | 2018-03-23 08:52:18 +0000 | |
commit | 5c094b10096c629804b9e266d05b74e90512ad8b (patch) | |
tree | a40773b5b64133725b52e0213cc0fb9fa8e9e282 /main/src | |
parent | e42245a43617bea27d817d8a53151b284fb84cea (diff) | |
parent | 7247c4f691efcb104fea7287ac9df541125655ee (diff) |
Merge changes I748662f8,Ie8684832,I8fbe6c64
* changes:
Add validation for sample file schema
Ignore invalid schemas
Ignore null on console
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/main/java/org/onap/cli/main/OnapCli.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/main/java/org/onap/cli/main/OnapCli.java b/main/src/main/java/org/onap/cli/main/OnapCli.java index e70c7186..3ba75711 100644 --- a/main/src/main/java/org/onap/cli/main/OnapCli.java +++ b/main/src/main/java/org/onap/cli/main/OnapCli.java @@ -86,7 +86,7 @@ public class OnapCli { } private void print(Throwable throwable) { - this.print(throwable.getMessage()); + this.print(throwable.getMessage() != null ? throwable.getMessage() : ""); LOG.error(throwable.getMessage(), throwable); } |