Skip to content

Commit fa8abeb

Browse files
NitinKumar004claude
andcommitted
fix: remove duplicate error log in handleSubscription
The handler error was being logged in both handleSubscription and startSubscriber, doubling alert noise. Remove the log from handleSubscription and let startSubscriber be the single error log entry point. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4ddb61b commit fa8abeb

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

pkg/gofr/subscriber.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ func (s *SubscriptionManager) handleSubscription(ctx context.Context, topic stri
6767
return handler(ctx)
6868
}(msgCtx)
6969
if err != nil {
70-
s.container.Logger.Errorf("error in handler for topic %s: %v", topic, err)
71-
7270
return err
7371
}
7472

0 commit comments

Comments
 (0)