Skip to content

Commit

Permalink
chore: resolve merge conflict
Browse files Browse the repository at this point in the history
Signed-off-by: Frederico Araujo <[email protected]>
  • Loading branch information
araujof committed Apr 26, 2024
2 parents 4b7facd + 980464e commit bafae37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions driver/otel/kafkadriver.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (s *KafkaDriver) Init(pipeline plugins.SFPipeline, config map[string]interf

err = consumer.SubscribeTopics(conf.Topics, nil)
if err != nil {
return fmt.Errorf("unable to subscribe to kafka topics %v: %v", conf.Topics, err)
return fmt.Errorf("unable to subscribe to kafka topics: %v. Error: %v", conf.Topics, err)
}

s.config = conf
Expand All @@ -97,7 +97,7 @@ func (s *KafkaDriver) Run(path string, running *bool) error {
/* reads the message from the topics */
msg, err := s.consumer.ReadMessage(-1)
if err != nil {
return fmt.Errorf("error reading message %s", err)
return fmt.Errorf("error reading message %v", err)
}

/* parses the message into an otel record log */
Expand Down

0 comments on commit bafae37

Please sign in to comment.