This makes logs much easier to read...
I recommend message.get('msg_id') just to be on the safe side.
message.get('msg_id')
From my point of view, BaseEvent not created for message is a little confused. Should it be "No event is defined for and can parse message with id %s" or something like?
BaseEvent not created for message
@ralph: It does not show the whole code, but the code right above this part is:
if 'msg_id' not in message: raise ValueError( 'Received message does not contain "msg_id" or "message-id": ' '%r' % (message))
It does not show the whole code, but the code right above this part Gotcha. Thanks!
rebased onto d82a0129a4037b8db2d85383a15f8f68a71d3ad0
Pull-Request has been merged by jkaluza
This makes logs much easier to read...