Emit more descriptive error message if config file is incorrect

This commit is contained in:
Dustin Spicuzza 2017-05-18 18:39:19 -04:00
parent b4ce4e9370
commit 17e4fc0933

View file

@ -831,7 +831,7 @@ class CoreService(object):
def setvalue(self, key, value):
if key not in self.keys:
raise ValueError
raise ValueError('key `%s` not in `%s`' % (key, self.keys))
# this handles data conversion to int, string, and tuples
if value:
if key == "startidx":