Commit 9c58d8d6 authored by Jonathan Michalon's avatar Jonathan Michalon
Browse files

Fix error message display when config module loading fails

The code was moved recently to be accessible by the watchdog but
a variable name was not changed…
parent 42191987
...@@ -88,7 +88,7 @@ def import_config(configfile): ...@@ -88,7 +88,7 @@ def import_config(configfile):
import_module(base) import_module(base)
except ImportError as e: except ImportError as e:
logging.critical("Cannot load config from '%s': %s" % ( logging.critical("Cannot load config from '%s': %s" % (
args.config, str(e))) configfile, str(e)))
sys.exit(1) sys.exit(1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment