mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-05 09:18:26 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user