Skip to content

Commit

Permalink
display error message according to standards
Browse files Browse the repository at this point in the history
as suggested by @lssif

Signed-off-by: Carlos Laviola <carlos.laviola@adyen.com>
  • Loading branch information
Carlos Laviola authored and poiana committed Aug 7, 2023
1 parent 46c6ff6 commit 7c7f9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outputs/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func NewKafkaClient(config *types.Configuration, stats *types.Statistics, promSt
caCertPool, err := x509.SystemCertPool()

if err != nil {
err = fmt.Errorf("failed to initialize root CAs: %w", err)
log.Printf("[ERROR] : Kafka - failed to initialize root CAs: %v", err)
}

transport.TLS = &tls.Config{
Expand Down

0 comments on commit 7c7f9b2

Please sign in to comment.