lnd: use Infof to format errors on channeldb open
This commit is contained in:
parent
66652ec4bc
commit
5e09a5287a
2
lnd.go
2
lnd.go
@ -270,7 +270,7 @@ func Main(cfg *Config, lisCfg ListenerCfg, shutdownChan <-chan struct{}) error {
|
|||||||
)
|
)
|
||||||
switch {
|
switch {
|
||||||
case err == channeldb.ErrDryRunMigrationOK:
|
case err == channeldb.ErrDryRunMigrationOK:
|
||||||
ltndLog.Info("%v, exiting", err)
|
ltndLog.Infof("%v, exiting", err)
|
||||||
return nil
|
return nil
|
||||||
|
|
||||||
case err != nil:
|
case err != nil:
|
||||||
|
Loading…
Reference in New Issue
Block a user