mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
Apply suggestion to internal/store/event_loop.go
This commit is contained in:
committed by
Jakub Cuth
parent
0998c67f20
commit
d1e63254f2
@ -418,7 +418,7 @@ func (loop *eventLoop) processMessages(eventLog *logrus.Entry, messages []*pmapi
|
|||||||
|
|
||||||
if message.Updated == nil {
|
if message.Updated == nil {
|
||||||
msgLog.Errorf("Got EventUpdate(Flags) with nil message")
|
msgLog.Errorf("Got EventUpdate(Flags) with nil message")
|
||||||
break
|
return errors.Wrap(err, "missing update information")
|
||||||
}
|
}
|
||||||
|
|
||||||
var msg *pmapi.Message
|
var msg *pmapi.Message
|
||||||
|
|||||||
Reference in New Issue
Block a user