mirror of
https://github.com/zrepl/zrepl.git
synced 2025-06-25 04:01:49 +02:00
Remove the word "error" from info statements.
This commit is contained in:
parent
bae2bd2601
commit
538036c4b5
@ -35,7 +35,7 @@ func waitPostLogging(c *Cmd, u usage, err error, now time.Time) {
|
|||||||
WithField("usertime_s", u.user_secs)
|
WithField("usertime_s", u.user_secs)
|
||||||
|
|
||||||
if err == nil {
|
if err == nil {
|
||||||
log.Info("command exited without error")
|
log.Info("command ran successfully")
|
||||||
} else {
|
} else {
|
||||||
log.WithError(err).Info("command exited with error")
|
log.WithError(err).Info("command exited with error")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user