summaryrefslogtreecommitdiff
path: root/internal/oauth
diff options
context:
space:
mode:
Diffstat (limited to 'internal/oauth')
-rw-r--r--internal/oauth/oauth.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/oauth/oauth.go b/internal/oauth/oauth.go
index 3d71c67..52a64b6 100644
--- a/internal/oauth/oauth.go
+++ b/internal/oauth/oauth.go
@@ -176,7 +176,8 @@ func (oauth *OAuth) tokensWithCallback() error {
// A bit overkill maybe for a local server but good to define anyways
ReadHeaderTimeout: 60 * time.Second,
}
- defer s.Shutdown(oauth.session.Context)
+ // TODO: Log error
+ defer s.Shutdown(oauth.session.Context) //nolint:errcheck
mux.HandleFunc("/callback", oauth.Handler)
go func() {