From 42e1906d9c19be1e7ba923ff159d7f44b21a80bb Mon Sep 17 00:00:00 2001 From: Dirk McCormick Date: Thu, 6 Aug 2020 14:01:38 -0400 Subject: [PATCH] fix: paychmgr - bail out if there's an error writing to store --- paychmgr/simple.go | 1 + 1 file changed, 1 insertion(+) diff --git a/paychmgr/simple.go b/paychmgr/simple.go index 67b5a4f41..d9f9b0682 100644 --- a/paychmgr/simple.go +++ b/paychmgr/simple.go @@ -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)