Skip to content

Commit

Permalink
chore: log the full request in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-karan committed Nov 9, 2022
1 parent ea1f2e5 commit bcae727
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/providers/google_chat/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ func (m *GoogleChatManager) sendMessage(msg ChatMessage, threadKey string) error
req.Header.Set("Content-Type", "application/json")

// Send the request.
m.lo.WithField("url", endpoint).WithField("msg", msg.Text).Debug("sending alert")
resp, err := m.client.Do(req)
if err != nil {
return err
Expand Down

0 comments on commit bcae727

Please sign in to comment.