opentelemetry-sdk-workers
opentelemetry-sdk-workers copied to clipboard
Throw exceptions rather than returning them?
I found some non-clear behavior, and I wonder if it is intentional.
https://github.com/RichiCoder1/opentelemetry-sdk-workers/blob/271b1b2a17a1b825d63ac8af54e639bcee83631c/packages/opentelemetry-sdk-workers/src/sdk.ts#L290-L294
I would expect throw
there instead of return
at line 292.
Am I missing something obvious?