summaryrefslogtreecommitdiffstats
path: root/nfvbench/config.py
diff options
context:
space:
mode:
authorahothan <ahothan@cisco.com>2017-08-27 08:28:42 -0700
committerahothan <ahothan@cisco.com>2017-08-27 08:30:15 -0700
commit4d3864c3972250654c3750764c2cf18e13c631d8 (patch)
tree0ec8e01c36cc8960be5918967ab88d1c46f26db8 /nfvbench/config.py
parent5de4ba44c806b7fc32f65e7e37be3a36f19794d9 (diff)
NFVBENCH-10 Relax config error message
Change-Id: I1078b01cbfa3f006b2d4170e4e84b93b547c0765 Signed-off-by: ahothan <ahothan@cisco.com>
Diffstat (limited to 'nfvbench/config.py')
-rw-r--r--nfvbench/config.py3
1 files changed, 2 insertions, 1 deletions
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)