From c529b415bc79a7eb45ff89263cd1dedd894d998f Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 9 May 2022 13:34:30 -0600 Subject: [PATCH] nit(chiauth): add trailing newline to error response --- chiauth/chiauth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chiauth/chiauth.go b/chiauth/chiauth.go index 57da080..a46cfe8 100644 --- a/chiauth/chiauth.go +++ b/chiauth/chiauth.go @@ -76,7 +76,7 @@ func NewTokenVerifier(opts VerificationParams) func(http.Handler) http.Handler { inspected, err := libauth.VerifyJWT(token, opts.Issuers, r) if nil != err { w.WriteHeader(http.StatusBadRequest) - errmsg := "Invalid Token: " + err.Error() + errmsg := "Invalid Token: " + err.Error() + "\n" w.Write([]byte(errmsg)) return }