# HG changeset patch # User Denis Laxalde # Date 1487924375 -3600 # Node ID d92d75b17a857b8b3b5c7d6393ff11b6f660239c # Parent 5e7282bdf140d1438b24a176373f74cda6680dff [cwconfig] Issue a warning if a configuration module cannot be loaded We already do this when loading ctl plugin modules, so make things symmetrical for config modules. diff -r 5e7282bdf140 -r d92d75b17a85 cubicweb/cwconfig.py --- a/cubicweb/cwconfig.py Fri Feb 24 09:18:08 2017 +0100 +++ b/cubicweb/cwconfig.py Fri Feb 24 09:19:35 2017 +0100 @@ -714,7 +714,8 @@ try: __import__('cubicweb.%s' % confmod) except ImportError: - pass + cls.warning('failed to load config module %s (%s)', + ctlmod, exc) @classmethod def load_cwctl_plugins(cls):