We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1641d0 commit a039eeaCopy full SHA for a039eea
1 file changed
cmd/alertmanager/main.go
@@ -68,7 +68,7 @@ func getApp(ctx context.Context) (*amstate.App, error) {
68
69
func exitIfError(err error) {
70
if err != nil {
71
- fmt.Println(err)
+ fmt.Fprintln(os.Stderr, err)
72
os.Exit(1)
73
}
74
0 commit comments