fix: paychmgr - bail out if there's an error writing to store
This commit is contained in:
parent
85f4bc7717
commit
42e1906d9c
@ -407,6 +407,7 @@ func (ca *channelAccessor) mutateChannelInfo(channelID string, mutate func(*Chan
|
||||
// the message, and then record that the message was sent.
|
||||
if err != nil {
|
||||
log.Errorf("Error reading channel info from store: %s", err)
|
||||
return
|
||||
}
|
||||
|
||||
mutate(channelInfo)
|
||||
|
Loading…
Reference in New Issue
Block a user