localchans: log policy update error

This commit is contained in:
Joost Jager committed 2019-12-11 00:17:06 +01:00
1 parent f289dbd826
commit 74c2df658e
3 files changed
+21

No files matched your search

+3
View File
@@ -79,6 +79,9 @@ func (r *Manager) UpdatePolicy(newSchema routing.ChannelPolicy,
// Apply the new policy to the edge.
err := r.updateEdge(info.ChannelPoint, edge, newSchema)
if err != nil {
log.Warnf("Cannot update policy for %v: %v\n",
info.ChannelPoint, err,
)
return nil
}