Skip to content

Commit 41add72

Browse files
committed
ouput-error-to-stderr
1 parent 0531326 commit 41add72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ SQLFMT_ADDR=":8080" %[1]s
8787
}
8888

8989
if err := runCmd(); err != nil {
90-
fmt.Println(err)
90+
fmt.Fprintf(os.Stderr, "%v\n", err)
9191
os.Exit(1)
9292
}
9393
}

0 commit comments

Comments
 (0)