Apply suggestion to internal/store/event_loop.go

This commit is contained in:
James Houlahan 2020-04-15 13:41:38 +00:00 committed by Jakub Cuth
parent 91ec7edc06
commit 0998c67f20
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ func (loop *eventLoop) processMessages(eventLog *logrus.Entry, messages []*pmapi
if message.Created == nil {
msgLog.Error("Got EventCreate with nil message")
break
return errors.Wrap(err, "no message to put into DB")
}
if err = loop.store.createOrUpdateMessageEvent(message.Created); err != nil {