if not Risotto module, do not failed

This commit is contained in:
Emmanuel Garette 2021-04-13 10:31:14 +02:00
parent 01834c6ba7
commit 5663b2768b
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ class RegisterDispatcher:
try:
self.injected_self[submodule_name] = module.Risotto(test)
except AttributeError as err:
raise RegistrationError(_(f'unable to register the module {submodule_name}, this module must have Risotto class'))
print(_(f'unable to register the module {submodule_name}, this module must have Risotto class'))
def validate(self):
""" check if all messages have a function