Skip to content

Commit

Permalink
more logging fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Dec 16, 2024
1 parent 62578eb commit e495daf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion indexer/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ func (ix *Indexer) handleRecordCreate(ctx context.Context, evt *repomgr.RepoEven
case *bsky.ActorProfile:
ix.log.Debug("TODO: got actor profile record creation, need to do something with this")
default:
log.Warnw("unrecognized record", "record", op.Record, "collection", op.Collection)
ix.log.Warn("unrecognized record", "record", op.Record, "collection", op.Collection)
return nil, fmt.Errorf("unrecognized record type (creation): %s", op.Collection)
}

Expand Down
2 changes: 1 addition & 1 deletion repomgr/repomgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ func (rm *RepoManager) handleExternalUserEventNoArchive(ctx context.Context, pds

span.SetAttributes(attribute.Int64("uid", int64(uid)))

log.Debugw("HandleExternalUserEvent", "pds", pdsid, "uid", uid, "since", since, "nrev", nrev)
rm.log.Debug("HandleExternalUserEvent", "pds", pdsid, "uid", uid, "since", since, "nrev", nrev)

unlock := rm.lockUser(ctx, uid)
defer unlock()
Expand Down

0 comments on commit e495daf

Please sign in to comment.