From 4b89474534ad59c145274f2a05baaf1fe8914dc4 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 22 Feb 2025 12:39:40 +0800 Subject: [PATCH] :loud_sound: Add more realm related verbose logging --- pkg/internal/services/posts.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/internal/services/posts.go b/pkg/internal/services/posts.go index bdba083..a08645d 100644 --- a/pkg/internal/services/posts.go +++ b/pkg/internal/services/posts.go @@ -166,6 +166,7 @@ func FilterPostWithRealm(tx *gorm.DB, probe string) *gorm.DB { realm, err := authkit.GetRealmByAlias(gap.Nx, probe) if err != nil { + log.Warn().Msgf("Failed to find realm with alias %s: %s", probe, err) return tx }