Handling (ignoring) Errors from Tracing
I've added a tracing with this code, but struggling to find a neat way to handle (log & ignore) errors produced by tracing (e.g. network error when exporting the traces)
const tracingLayer = NodeSdk.layer(() => ({
resource: { serviceName: "myService" },
spanProcessor: new BatchSpanProcessor(new OTLPTraceExporter()),
}));
pipe(
...,
Effect.provide(tracingLayer),
Effect.runPromise
)