From 3d58ff2391d0490b068cee42a454a7992acbeb41 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 29 Mar 2025 13:34:37 +0800 Subject: [PATCH] :loud_sound: Add auth context cache miss log --- pkg/internal/services/auth.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/internal/services/auth.go b/pkg/internal/services/auth.go index c168392..c911f24 100644 --- a/pkg/internal/services/auth.go +++ b/pkg/internal/services/auth.go @@ -42,6 +42,7 @@ func GetAuthContext(sessionId uint) (models.AuthTicket, error) { if val, err := cachekit.Get[models.AuthTicket](gap.Ca, key); err == nil { ctx = val } else { + log.Error().Err(err).Msg("Unable to get auth context cache") ctx, err = CacheAuthContext(sessionId) if err != nil { log.Error().Err(err).Msg("Unable to cache auth context")