Merge pull request #2871 from filecoin-project/fix/bail-on-store-err

Bail out if there's an error writing state to store
This commit is contained in:
Łukasz Magiera
2020-08-06 21:43:13 +02:00
committed by GitHub
+1
View File
@@ -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)