diff --git a/cmd/schemadiff/main.go b/cmd/schemadiff/main.go index 83adf93..fae0801 100644 --- a/cmd/schemadiff/main.go +++ b/cmd/schemadiff/main.go @@ -11,7 +11,7 @@ import ( ) func exitWithError(err error) { - fmt.Println(err) + fmt.Fprintf(os.Stderr, "%+v\n", err) os.Exit(2) }