Skip to content

Commit

Permalink
exitWithError: print to stderr
Browse files Browse the repository at this point in the history
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
  • Loading branch information
shlomi-noach committed Mar 20, 2024
1 parent 32cdd13 commit e063bbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/schemadiff/main.go
Expand Up @@ -11,7 +11,7 @@ import (
)

func exitWithError(err error) {
fmt.Println(err)
fmt.Fprintf(os.Stderr, "%+v\n", err)
os.Exit(2)
}

Expand Down

0 comments on commit e063bbd

Please sign in to comment.