fix a minor bug unrelated to this change
This commit is contained in:
@@ -212,7 +212,9 @@ class AdapterConsumer(Consumer):
|
|||||||
# we just log the message and send an error string
|
# we just log the message and send an error string
|
||||||
# back to the caller
|
# back to the caller
|
||||||
LOG.warn(_('no method for message: %s') % message_data)
|
LOG.warn(_('no method for message: %s') % message_data)
|
||||||
msg_reply(msg_id, _('No method for message: %s') % message_data)
|
if msg_id:
|
||||||
|
msg_reply(msg_id,
|
||||||
|
_('No method for message: %s') % message_data)
|
||||||
return
|
return
|
||||||
self.pool.spawn_n(self._process_data, msg_id, ctxt, method, args)
|
self.pool.spawn_n(self._process_data, msg_id, ctxt, method, args)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user