create risotto admin and set rights

This commit is contained in:
2020-01-14 14:11:41 +01:00
parent 722d4894a1
commit cb0e4b5d5d
11 changed files with 132 additions and 33 deletions

View File

@ -275,10 +275,12 @@ class Dispatcher(register.RegisterDispatcher, CallDispatcher, PublishDispatcher)
kwargs,
check_role)
except Exception as err:
# if there is a problem with arguments, just send an error et do nothing
# if there is a problem with arguments, just send an error and do nothing
if DEBUG:
print_exc()
await log.error_msg(risotto_context, kwargs, err)
if risotto_context.type == 'rpc':
raise err
return
# config is ok, so send the message
for function_obj in function_objs: