raise if a 'publish' function failed
This commit is contained in:
parent
e58c61b76a
commit
197a9e82a2
@ -333,7 +333,6 @@ class Dispatcher(register.RegisterDispatcher,
|
|||||||
|
|
||||||
kw['risotto_context'] = risotto_context
|
kw['risotto_context'] = risotto_context
|
||||||
returns = await function(self.injected_self[function_obj['module']], **kw)
|
returns = await function(self.injected_self[function_obj['module']], **kw)
|
||||||
else:
|
|
||||||
if risotto_context.type == 'rpc':
|
if risotto_context.type == 'rpc':
|
||||||
# valid returns
|
# valid returns
|
||||||
await self.valid_call_returns(risotto_context,
|
await self.valid_call_returns(risotto_context,
|
||||||
|
Loading…
Reference in New Issue
Block a user