@@ -92,18 +92,18 @@ func Initialize(init func(string)) {
92
92
peerLogger .Infof ("Loading chain %s" , cid )
93
93
if ledger , err = ledgermgmt .OpenLedger (cid ); err != nil {
94
94
peerLogger .Warningf ("Failed to load ledger %s(%s)" , cid , err )
95
- peerLogger .Debug ("Error while loading ledger %s with message %s. We continue to the next ledger rather than abort." , cid , err )
95
+ peerLogger .Debugf ("Error while loading ledger %s with message %s. We continue to the next ledger rather than abort." , cid , err )
96
96
continue
97
97
}
98
98
if cb , err = getCurrConfigBlockFromLedger (ledger ); err != nil {
99
99
peerLogger .Warningf ("Failed to find config block on ledger %s(%s)" , cid , err )
100
- peerLogger .Debug ("Error while looking for config block on ledger %s with message %s. We continue to the next ledger rather than abort." , cid , err )
100
+ peerLogger .Debugf ("Error while looking for config block on ledger %s with message %s. We continue to the next ledger rather than abort." , cid , err )
101
101
continue
102
102
}
103
103
// Create a chain if we get a valid ledger with config block
104
104
if err = createChain (cid , ledger , cb ); err != nil {
105
105
peerLogger .Warningf ("Failed to load chain %s(%s)" , cid , err )
106
- peerLogger .Debug ("Error reloading chain %s with message %s. We continue to the next chain rather than abort." , cid , err )
106
+ peerLogger .Debugf ("Error reloading chain %s with message %s. We continue to the next chain rather than abort." , cid , err )
107
107
continue
108
108
}
109
109
0 commit comments