Handle unused allowed_remote_exmods in _multi_send
allowed_remote_exmods which is passed to _multi_send method in impl_zmq.py is not passed further to _call, _cast, etc. Due to that, all remote exceptions, that are supposed to be expected, are wrapped into messaging.RemoteError exception with all details of the remote exception. To fix this allowed_remote_exmods needs to be passed as a parameter in a called method(). Change-Id: If1dc2f85eab6f542bc21961b9d5c0bd0ab64add2 Closes-Bug: 1330460
This commit is contained in:
parent
f2cd28e503
commit
210ec5003d
|
@ -750,7 +750,8 @@ def _multi_send(method, context, topic, msg, timeout=None,
|
|||
eventlet.spawn_n(method, _addr, context,
|
||||
_topic, msg, timeout, envelope, _msg_id)
|
||||
else:
|
||||
return_val = method(_addr, context, _topic, msg, timeout, envelope)
|
||||
return_val = method(_addr, context, _topic, msg, timeout,
|
||||
envelope, allowed_remote_exmods)
|
||||
|
||||
return return_val
|
||||
|
||||
|
|
Loading…
Reference in New Issue