diff --git a/receiver/otlpreceiver/internal/logs/otlp.go b/receiver/otlpreceiver/internal/logs/otlp.go index 724a9fc55af..a93910eba2e 100644 --- a/receiver/otlpreceiver/internal/logs/otlp.go +++ b/receiver/otlpreceiver/internal/logs/otlp.go @@ -55,5 +55,5 @@ func (r *Receiver) Export(ctx context.Context, req plogotlp.ExportRequest) (plog return plogotlp.NewExportResponse(), s.Err() } - return plogotlp.NewExportResponse(), err + return plogotlp.NewExportResponse(), nil }