Skip to content

Commit

Permalink
logging body on error
Browse files Browse the repository at this point in the history
  • Loading branch information
Cufee committed Jun 7, 2024
1 parent 9f360c4 commit 1f7356f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmds/discord/router/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ func (r *Router) sendInteractionReply(interaction discordgo.Interaction, state *

err := handler()
if err != nil {
log.Err(err).Msg("failed to send an interaction response")
log.Err(err).Any("data", data).Msg("failed to send an interaction response")
return
}
state.acked = true
Expand Down

0 comments on commit 1f7356f

Please sign in to comment.