Skip to content

Commit

Permalink
fix: logext STDERR use warn instead of error (#2791)
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Dec 29, 2021
1 parent c47b5d4 commit 89ece55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/logext/testdata/TestWriter/debug/1.txt.golden
@@ -1,2 +1,2 @@
foo foo=bar
bar foo=bar
foo foo=bar
bar foo=bar
2 changes: 1 addition & 1 deletion internal/logext/writer.go
Expand Up @@ -47,7 +47,7 @@ func (w logWriter) Write(p []byte) (int, error) {
case Info:
w.ctx.Info(line)
case Error:
w.ctx.Error(line)
w.ctx.Warn(line)
}
}
return len(p), nil
Expand Down

0 comments on commit 89ece55

Please sign in to comment.