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 }