check_role for event type message

This commit is contained in:
Emmanuel Garette 2019-12-27 16:17:34 +01:00
parent 1e223e7b57
commit a6383f0c2c

View File

@ -151,7 +151,9 @@ class PublishDispatcher:
kwargs)
try:
config_arguments = await self.load_kwargs_to_config(risotto_context,
kwargs)
f'{version}.{message}',
kwargs,
check_role)
except CallError as err:
return
except Exception as err: