Careful with msg_id here too.

This commit is contained in:
Ralph Bean
2017-02-01 11:07:21 -05:00
parent 0b307550c4
commit e082ff1289

View File

@@ -165,7 +165,7 @@ class MBSConsumer(fedmsg.consumers.FedmsgConsumer):
def process_message(self, session, msg):
log.debug('Received a message with an ID of "{0}" and of type "{1}"'
.format(msg.msg_id, type(msg).__name__))
.format(getattr(msg, 'msg_id'), type(msg).__name__))
# Choose a handler for this message
if type(msg) == module_build_service.messaging.KojiBuildChange: