mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-02 05:16:10 +00:00
service: avoid debug logs before error (#7564)
This commit is contained in:
@@ -162,7 +162,6 @@ func (bs *BaseService) Start(ctx context.Context) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
bs.logger.Debug("not starting service; already started", "service", bs.name, "impl", bs.impl.String())
|
||||
return ErrAlreadyStarted
|
||||
}
|
||||
|
||||
@@ -183,7 +182,6 @@ func (bs *BaseService) Stop() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
bs.logger.Debug("not stopping service; already stopped", "service", bs.name, "impl", bs.impl.String())
|
||||
return ErrAlreadyStopped
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user