Skip to content

Commit 8d8309d

Browse files
committed
ref(node-core): Add more specific mechanism.type to worker thread errors from childProcessIntegration
1 parent a820fa2 commit 8d8309d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/node-core/src/integrations/childProcess.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function captureWorkerThreadEvents(worker: Worker, options: Options): void {
9999
.on('error', error => {
100100
if (options.captureWorkerErrors !== false) {
101101
captureException(error, {
102-
mechanism: { type: 'instrument', handled: false, data: { threadId: String(threadId) } },
102+
mechanism: { type: 'child_process.worker_thread', handled: false, data: { threadId: String(threadId) } },
103103
});
104104
} else {
105105
addBreadcrumb({

0 commit comments

Comments
 (0)