From 09a10a04ec17be83d9a21f8f74a41dcd7d56c931 Mon Sep 17 00:00:00 2001 From: Matt Roberts Date: Thu, 26 Sep 2024 16:28:13 +0100 Subject: [PATCH] No need to log this --- app/services/userlist/userlist.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/services/userlist/userlist.go b/app/services/userlist/userlist.go index f70125277..8e37e120b 100644 --- a/app/services/userlist/userlist.go +++ b/app/services/userlist/userlist.go @@ -10,13 +10,11 @@ import ( "strconv" "github.com/getfider/fider/app/models/cmd" - "github.com/getfider/fider/app/models/dto" "github.com/getfider/fider/app/models/enum" "github.com/getfider/fider/app/models/query" "github.com/getfider/fider/app/pkg/bus" "github.com/getfider/fider/app/pkg/env" "github.com/getfider/fider/app/pkg/errors" - "github.com/getfider/fider/app/pkg/log" ) // Company represents a company in UserList.com. It contains information about the company, @@ -221,10 +219,6 @@ func pushUserListUpdate(obj interface{}, ctx context.Context) error { return errors.Wrap(err, "Failed to send userlist update") } - log.Infof(ctx, "Userlist HTTP post complete with status @{status}. Header was @{ResponseHeader}. Body was @{ResponseBody}", dto.Props{ - "status": req.ResponseStatusCode, "ResponseHeader": req.ResponseHeader, "ResponseBody": string(req.ResponseBody), - }) - if req.ResponseStatusCode >= 300 { return errors.New("unexpected status code while updating userlist: %d", req.ResponseStatusCode) }