From: Calin Crisan Date: Fri, 20 Nov 2015 14:21:59 +0000 (+0200) Subject: unknown configuration options are now treated as warnings X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=79833a797b9aa252b464682a0b82b650e1fad8eb;p=motioneye-debian unknown configuration options are now treated as warnings --- diff --git a/motioneye/meyectl.py b/motioneye/meyectl.py index b785b3b..5e5ce6f 100755 --- a/motioneye/meyectl.py +++ b/motioneye/meyectl.py @@ -113,7 +113,7 @@ def load_settings(): setattr(settings, upper_name, value) else: - raise Exception('unknown configuration option: %s' % name) + logging.warn('unknown configuration option: %s' % name) if config_file: try: