load_backend: don't catch when there is an error to load a module
This commit is contained in:
parent
c767e72767
commit
7ecdd4e7dc
1 changed files with 1 additions and 6 deletions
|
|
@ -136,12 +136,7 @@ class Weboob(object):
|
||||||
if not minfo.is_installed():
|
if not minfo.is_installed():
|
||||||
self.repositories.install(minfo)
|
self.repositories.install(minfo)
|
||||||
|
|
||||||
module = None
|
|
||||||
try:
|
|
||||||
module = self.modules_loader.get_or_load_module(module_name)
|
module = self.modules_loader.get_or_load_module(module_name)
|
||||||
except ModuleLoadError, e:
|
|
||||||
self.logger.error(e)
|
|
||||||
return
|
|
||||||
|
|
||||||
backend_instance = module.create_instance(self, module_name, params or {}, storage)
|
backend_instance = module.create_instance(self, module_name, params or {}, storage)
|
||||||
return backend_instance
|
return backend_instance
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue