feat: Refine The Atlantis VCS Logging Configuration (#4285)

* Refine VCS Logging

* Remove github/gitlab client logger

* Remove fmtLogSrc from instrumented_client and format

* Add staticcheck lint exception for NewGitHubClient

* Fix tests
This commit is contained in:
Simon Heather
2024-02-26 18:07:41 +00:00
committed by GitHub
parent 0c99a3dbba
commit 67b5740053
60 changed files with 1508 additions and 1179 deletions

View File

@@ -62,7 +62,7 @@ func (g *GithubAppController) ExchangeCode(w http.ResponseWriter, r *http.Reques
return
}
app, err := client.ExchangeCode(code)
app, err := client.ExchangeCode(g.Logger, code)
if err != nil {
g.respond(w, logging.Error, http.StatusInternalServerError, "Failed to exchange code for github app: %s", err)
return