From: ahothan Date: Sun, 27 Aug 2017 15:28:42 +0000 (-0700) Subject: NFVBENCH-10 Relax config error message X-Git-Tag: 1.0.3~1 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=4d3864c3972250654c3750764c2cf18e13c631d8;p=nfvbench.git NFVBENCH-10 Relax config error message Change-Id: I1078b01cbfa3f006b2d4170e4e84b93b547c0765 Signed-off-by: ahothan --- diff --git a/nfvbench/config.py b/nfvbench/config.py index df91454..915b42c 100644 --- a/nfvbench/config.py +++ b/nfvbench/config.py @@ -71,6 +71,7 @@ def _get_err_config(subset, superset): def _validate_config(subset, superset): err_cfg = _get_err_config(subset, superset) if err_cfg: - err_msg = 'Unknown options found in config file/string: ' + str(err_cfg) + err_msg = 'The provided configuration has unknown options or values with invalid type: '\ + + str(err_cfg) LOG.error(err_msg) raise Exception(err_msg)