Describe the bug
This is essentially the same issue as #4348 . Issue was fixed for BatchSpanProcessor, but still present in BatchLogRecordProcessor.
TLDR: Custom exporter throwing non-runtime exception will kill the worker thread
Steps to reproduce
Custom LogRecordExporter throw non-runtime exception (new test in the attched PR reproduces the issue)
What did you expect to see?
Error log and processor continues working
What did you see instead?
Only RuntimeExceptions are catched
Describe the bug
This is essentially the same issue as #4348 . Issue was fixed for
BatchSpanProcessor, but still present inBatchLogRecordProcessor.TLDR: Custom exporter throwing non-runtime exception will kill the worker thread
Steps to reproduce
Custom LogRecordExporter throw non-runtime exception (new test in the attched PR reproduces the issue)
What did you expect to see?
Error log and processor continues working
What did you see instead?
Only RuntimeExceptions are catched