core: prevent warning when CALL_FUNCTION used without reply_to

Such as when the stub CALL_SERVICE handler is used.
pull/262/head
David Wilson 6 years ago
parent 088a7e5cff
commit 34daec4a7a

@ -1856,7 +1856,9 @@ class ExternalContext(object):
for msg in self.recv:
try:
msg.reply(self._dispatch_one(msg))
ret = self._dispatch_one(msg)
if msg.reply_to:
msg.reply(ret)
except Exception:
e = sys.exc_info()[1]
_v and LOG.debug('_dispatch_calls: %s', e)

Loading…
Cancel
Save