Skip to content

Commit

Permalink
Merge pull request #72 from planetary-social/fix_logging_conditional
Browse files Browse the repository at this point in the history
Fix logging conditional
  • Loading branch information
dcadenas authored Sep 27, 2024
2 parents 209a355 + 0945843 commit 7aaa885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/app/follow_change_puller.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (f *FollowChangePuller) Run(ctx context.Context) error {
}

tokens, err := f.queries.GetTokens.Handle(ctx, followChangeAggregate.Followee)
if err != nil || len(tokens) == 0 {
if err != nil {
f.logger.Error().
WithField("followee", followChangeAggregate.Followee.Hex()).
WithError(err).
Expand Down

0 comments on commit 7aaa885

Please sign in to comment.