Skip to content

Commit

Permalink
fix: don't log resp id
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Sep 26, 2023
1 parent b22fcda commit af2248f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ func (svc *Service) StartSubscription(ctx context.Context, sub *nostr.Subscripti
if err != nil {
svc.Logger.WithFields(logrus.Fields{
"eventId": event.ID,
"replyEventId": resp.ID,
}).Error(err)
"eventKind": event.Kind,
}).Errorf("Failed to process event: %v", err)
}
if resp != nil {
status := sub.Relay.Publish(ctx, *resp)
Expand Down

0 comments on commit af2248f

Please sign in to comment.