Skip to content

Commit

Permalink
palomar: fix bad slog invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
bnewbold committed Sep 14, 2023
1 parent cddee8f commit 8b8ab88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search/indexing.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
}

Expand Down

0 comments on commit 8b8ab88

Please sign in to comment.