show module name in error message
This commit is contained in:
@ -32,7 +32,7 @@ def load(configuration):
|
||||
class_ = import_module(module).Web
|
||||
except Exception as e:
|
||||
raise RuntimeError("Failed to load web module %r: %s" %
|
||||
(web_type, e)) from e
|
||||
(module, e)) from e
|
||||
logger.info("Web type is %r", web_type)
|
||||
return class_(configuration)
|
||||
|
||||
|
Reference in New Issue
Block a user