Compare commits
No commits in common. "4fc3e74bbdc752704860216122de2ac9566d592a" and "83d74c2b069fad58f69043a65736be55d8eefb81" have entirely different histories.
4fc3e74bbd
...
83d74c2b06
|
@ -277,7 +277,7 @@ class RegisterDispatcher:
|
|||
try:
|
||||
self.injected_self[submodule_name] = module.Risotto(test)
|
||||
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):
|
||||
""" check if all messages have a function
|
||||
|
|
Loading…
Reference in New Issue