Skip to content

Commit

Permalink
feat: add log for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Jul 10, 2024
1 parent 8d75897 commit 2ee0506
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions node/pkg/dal/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func validator(ctx *fiber.Ctx, s string) (bool, error) {
return true, nil
}

log.Warn().Str("Player", "DAL").Str("input", s).Str("expected", key).Msg("invalid api key")
return false, fmt.Errorf("invalid api key")
}

Expand Down

0 comments on commit 2ee0506

Please sign in to comment.