From 2ee05064fefae846a638e37a1a46cb0f8607c747 Mon Sep 17 00:00:00 2001 From: nick Date: Wed, 10 Jul 2024 11:41:15 +0900 Subject: [PATCH] feat: add log for debugging --- node/pkg/dal/utils/utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/node/pkg/dal/utils/utils.go b/node/pkg/dal/utils/utils.go index 0d7e55c5d..22a5afd29 100644 --- a/node/pkg/dal/utils/utils.go +++ b/node/pkg/dal/utils/utils.go @@ -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") }