Compare commits

..

No commits in common. "4fc3e74bbdc752704860216122de2ac9566d592a" and "83d74c2b069fad58f69043a65736be55d8eefb81" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

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