mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
watchtower/wtserver/create_session: log missing error in create session
This commit is contained in:
parent
b7cd70f186
commit
54c908be1a
@ -102,7 +102,7 @@ func (s *Server) handleCreateSession(peer Peer, id *wtdb.SessionID,
|
|||||||
// successful, the session will now be ready for use.
|
// successful, the session will now be ready for use.
|
||||||
err = s.cfg.DB.InsertSessionInfo(&info)
|
err = s.cfg.DB.InsertSessionInfo(&info)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Errorf("unable to create session for %s", id)
|
log.Errorf("Unable to create session for %s: %v", id, err)
|
||||||
return s.replyCreateSession(
|
return s.replyCreateSession(
|
||||||
peer, id, wtwire.CodeTemporaryFailure, 0, nil,
|
peer, id, wtwire.CodeTemporaryFailure, 0, nil,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user