diff --git a/api/utils_misc.go b/api/utils_misc.go index 3aca03e..e40f46d 100644 --- a/api/utils_misc.go +++ b/api/utils_misc.go @@ -2,6 +2,7 @@ package main import ( "bytes" + "fmt" "os" ) @@ -11,6 +12,7 @@ func concat(a bytes.Buffer, b bytes.Buffer) []byte { func exitIfError(err error) { if err != nil { + fmt.Printf("fatal error: %v\n", err) os.Exit(1) } }