Skip to content

Commit

Permalink
Merge pull request #70 from ebc-2in2crc/output-error-to-stderr
Browse files Browse the repository at this point in the history
Redirect errors to standard error (stderr)
  • Loading branch information
maddyblue authored Oct 29, 2024
2 parents 0531326 + 41add72 commit 71c0efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ SQLFMT_ADDR=":8080" %[1]s
}

if err := runCmd(); err != nil {
fmt.Println(err)
fmt.Fprintf(os.Stderr, "%v\n", err)
os.Exit(1)
}
}
Expand Down

0 comments on commit 71c0efa

Please sign in to comment.