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
  • Loading branch information
Carlos Laviola committed Aug 7, 2023
1 parent be186bc commit b152c5b
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 b152c5b

Please sign in to comment.