From 0bc538b7377d223452e9f64cb4bcb312a3ab4bfb Mon Sep 17 00:00:00 2001 From: "kim (grufwub)" Date: Thu, 26 Aug 2021 16:41:40 +0100 Subject: [PATCH] remove unneeded nested sprintf within debugf Signed-off-by: kim (grufwub) --- internal/api/client/auth/authorize.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/client/auth/authorize.go b/internal/api/client/auth/authorize.go index 0328f3b21..fe508c588 100644 --- a/internal/api/client/auth/authorize.go +++ b/internal/api/client/auth/authorize.go @@ -55,7 +55,7 @@ func (m *Module) AuthorizeGETHandler(c *gin.Context) { l.Debugf("parsed auth form: %+v", form) if err := extractAuthForm(s, form); err != nil { - l.Debugf(fmt.Sprintf("error parsing form at /oauth/authorize: %s", err)) + l.Debugf("error parsing form at /oauth/authorize: %s", err) m.clearSession(s) c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) return