lnd: specify formatting directive in new error logging
This commit is contained in:
parent
4e7ddad258
commit
6acd177c33
2
lnd.go
2
lnd.go
@ -64,7 +64,7 @@ func lndMain() error {
|
|||||||
// network related metadata.
|
// network related metadata.
|
||||||
chanDB, err := channeldb.Open(cfg.DataDir)
|
chanDB, err := channeldb.Open(cfg.DataDir)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ltndLog.Errorf("unable to open channeldb: ", err)
|
ltndLog.Errorf("unable to open channeldb: %v", err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
defer chanDB.Close()
|
defer chanDB.Close()
|
||||||
|
Loading…
Reference in New Issue
Block a user