Skip to content

Commit

Permalink
feat: update logs (#1579)
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai authored Jun 10, 2024
1 parent 7dd1030 commit 638f8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/pkg/boot/peer/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func sync(c *fiber.Ctx) error {

validate := validator.New()
if err := validate.Struct(payload); err != nil {
log.Error().Err(err).Msg("Failed to validate request")
log.Error().Any("payload", payload).Err(err).Msg("Failed to validate request")
return c.Status(fiber.StatusBadRequest).SendString("Failed to validate request")
}

Expand Down

0 comments on commit 638f8a6

Please sign in to comment.