Skip to content

Commit

Permalink
Write errors to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
zmb3 committed Dec 15, 2017
1 parent 5e90257 commit b4c1dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func main() {

d, err := Run(ctx, filename, offset)
if err != nil {
fmt.Println(err)
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}

Expand Down

0 comments on commit b4c1dcb

Please sign in to comment.