Skip to content

Commit

Permalink
Merge pull request #29 from devtron-labs/nats-subs
Browse files Browse the repository at this point in the history
feat: throwing error for nats subscription fault
  • Loading branch information
prkhrkat authored Aug 1, 2024
2 parents 0f88edb + f051f5c commit d925f07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/NatsSubscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ func NewNatsSubscription(pubSubClient *pubsub.PubSubClientServiceImpl,
if err != nil {
ns.logger.Errorw("Error while subscribing to pubsub client", "topic", pubsub.CD_SUCCESS, "error", err)
}
return ns, nil
return ns, err
}
5 changes: 4 additions & 1 deletion wire_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d925f07

Please sign in to comment.