NFVBENCH-10 Relax config error message 19/40319/2
authorahothan <ahothan@cisco.com>
Sun, 27 Aug 2017 15:28:42 +0000 (08:28 -0700)
committerahothan <ahothan@cisco.com>
Sun, 27 Aug 2017 15:30:15 +0000 (08:30 -0700)
Change-Id: I1078b01cbfa3f006b2d4170e4e84b93b547c0765
Signed-off-by: ahothan <ahothan@cisco.com>
nfvbench/config.py

index df91454..915b42c 100644 (file)
@@ -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)