Skip to content

Commit

Permalink
linter correction
Browse files Browse the repository at this point in the history
  • Loading branch information
trek-boldly-go committed Jan 15, 2024
1 parent eb41d07 commit 854bdc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imessage/bluebubbles/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ func (bb *blueBubbles) SendMessage(chatID, text string, replyTo string, replyToP
if res.StatusCode != http.StatusOK {
bb.log.Err(fmt.Errorf("unexpected status code: %d", res.StatusCode)).Msg("Error sending the Message to BlueBubbles")
body, _ := io.ReadAll(res.Body)
bb.log.Error().Msgf("Response Body from BlueBubbles was: %s", body)
bb.log.Error().Bytes("response_body", body).Msg("Response from BlueBubbles")
return nil, fmt.Errorf("unexpected status code: %d", res.StatusCode)
}

Expand Down

0 comments on commit 854bdc6

Please sign in to comment.