Skip to content

Commit

Permalink
fix: removing unused main and adding error logging to otelexporter
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony Saieva <[email protected]>
  • Loading branch information
Anthony Saieva authored and araujof committed Apr 16, 2024
1 parent 1a203fc commit 9b5619f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/processor/otelexporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,14 @@ func (s *OTELExporter) Process(ch []interface{}, wg *sync.WaitGroup) {
nil,
)

if err != nil {
logger.Trace.Printf("OtelExporter Error producing kafka message %v", err)
}

}
}
}

func (s *OTELExporter) SetOutChan(ch []interface{}) {}

func (s *OTELExporter) Cleanup() {}

func main() {}

0 comments on commit 9b5619f

Please sign in to comment.