mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-04 20:23:59 +00:00
logging: print string instead of callback (#6178)
## Description Fixes marshaling error in sdk closes https://github.com/cosmos/cosmos-sdk/issues/8578 the output stays the same, we are avoiding the passing of the callback because sdk uses typed logging. Co-authored-by: Marko <marbar3778@yahoo.com>
This commit is contained in:
@@ -136,7 +136,7 @@ func (bs *BaseService) Start() error {
|
||||
atomic.StoreUint32(&bs.started, 0)
|
||||
return ErrAlreadyStopped
|
||||
}
|
||||
bs.Logger.Info(fmt.Sprintf("Starting %v service", bs.name), "impl", bs.impl)
|
||||
bs.Logger.Info(fmt.Sprintf("Starting %v service", bs.name), "impl", bs.impl.String())
|
||||
err := bs.impl.OnStart()
|
||||
if err != nil {
|
||||
// revert flag
|
||||
|
||||
Reference in New Issue
Block a user