From e0e9a67fa69f0fb04d6f6129f7bd83f0a51df6f6 Mon Sep 17 00:00:00 2001 From: Oliver Browne Date: Wed, 20 Nov 2024 15:06:11 +0200 Subject: [PATCH] feat(err): cymbal for all teams (#26312) --- plugin-server/src/worker/ingestion/event-pipeline/runner.ts | 2 +- .../tests/worker/ingestion/event-pipeline/runner.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin-server/src/worker/ingestion/event-pipeline/runner.ts b/plugin-server/src/worker/ingestion/event-pipeline/runner.ts index 25b3d77d128..dc5cf6d8df1 100644 --- a/plugin-server/src/worker/ingestion/event-pipeline/runner.ts +++ b/plugin-server/src/worker/ingestion/event-pipeline/runner.ts @@ -259,7 +259,7 @@ export class EventPipelineRunner { event.team_id ) - if (event.event === '$exception' && event.team_id == 2) { + if (event.event === '$exception' && !event.properties?.hasOwnProperty('$sentry_event_id')) { const [exceptionAck] = await this.runStep( produceExceptionSymbolificationEventStep, [this, rawEvent], diff --git a/plugin-server/tests/worker/ingestion/event-pipeline/runner.test.ts b/plugin-server/tests/worker/ingestion/event-pipeline/runner.test.ts index 2fd02a018be..6e54ec8f3c5 100644 --- a/plugin-server/tests/worker/ingestion/event-pipeline/runner.test.ts +++ b/plugin-server/tests/worker/ingestion/event-pipeline/runner.test.ts @@ -397,7 +397,7 @@ describe('EventPipelineRunner', () => { 'prepareEventStep', 'extractHeatmapDataStep', 'createEventStep', - 'emitEventStep', + 'produceExceptionSymbolificationEventStep', ]) }) })