From bba2ff1871afb23313e974e67cc2e5b1cb925332 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Fri, 2 Feb 2018 17:59:33 -0800 Subject: [PATCH] funding: display error if unable to watch for channel --- fundingmanager.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fundingmanager.go b/fundingmanager.go index 3de9d330..d9ea77bd 100644 --- a/fundingmanager.go +++ b/fundingmanager.go @@ -1208,8 +1208,8 @@ func (f *fundingManager) handleFundingCreated(fmsg *fundingCreatedMsg) { // send it to the ChainArbitrator so it can watch for any on-chain // actions during this final confirmation stage. if err := f.cfg.WatchNewChannel(completeChan); err != nil { - fndgLog.Error("Unable to send new ChannelPoint(%v) for "+ - "arbitration", fundingOut) + fndgLog.Errorf("Unable to send new ChannelPoint(%v) for "+ + "arbitration: %v", fundingOut, err) } // Create an entry in the local discovery map so we can ensure that we @@ -1348,7 +1348,7 @@ func (f *fundingManager) handleFundingSigned(fmsg *fundingSignedMsg) { // confirmed. if err := f.cfg.WatchNewChannel(completeChan); err != nil { fndgLog.Errorf("Unable to send new ChannelPoint(%v) for "+ - "arbitration", fundingPoint) + "arbitration: %v", fundingPoint, err) } fndgLog.Infof("Finalizing pendingID(%x) over ChannelPoint(%v), "+