From 8b8ab88a9bf9ebc0f18091905a7ae3e79301113c Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Thu, 14 Sep 2023 00:20:31 -0700 Subject: [PATCH] palomar: fix bad slog invocation --- search/indexing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/indexing.go b/search/indexing.go index 096bef576..59903712f 100644 --- a/search/indexing.go +++ b/search/indexing.go @@ -52,7 +52,7 @@ func (s *Server) indexPost(ctx context.Context, ident *identity.Identity, rec *a _, err := util.ParseTimestamp(rec.CreatedAt) if err != nil { - s.logger.Warn("post (%s, %s) had invalid timestamp (%q): %w", ident.DID, rkey, rec.CreatedAt, err) + s.logger.Warn("post had invalid timestamp", "repo", ident.DID, "rkey", rkey, "createdAt", rec.CreatedAt, "parseErr", err) rec.CreatedAt = "" }