We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce26a99 commit dc3df37Copy full SHA for dc3df37
packages/node-core/src/integrations/http/index.ts
@@ -169,10 +169,9 @@ export const httpIntegration = defineIntegration((options: HttpOptions = {}) =>
169
instrumentSentryHttp(httpInstrumentationOptions);
170
},
171
processEvent(event) {
172
- if (enabledServerSpans) {
173
- return serverSpans.processEvent(event);
174
- }
175
- return event;
+ // Note: We always run this, even if spans are disabled
+ // The reason being that e.g. the remix integration disables span creation here but still wants to use the ignore status codes option
+ return serverSpans.processEvent(event);
176
177
};
178
});
0 commit comments