Skip to content

Commit

Permalink
Fix logout bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Krivak committed Sep 13, 2023
1 parent 53d18af commit 7ae8449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (c *Collector) ServeHTTP(w http.ResponseWriter, r *http.Request) {
ctx, cancel := context.WithTimeout(context.Background(), 3*time.Second)
defer cancel()
if err := client.Logout(ctx); err != nil {
log.Fatalf("Failed to logout: %v", err)
log.Printf("Failed to logout: %v", err)
}
}()

Expand Down

0 comments on commit 7ae8449

Please sign in to comment.