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 c08020e commit a2bf73cCopy full SHA for a2bf73c
packages/node/src/integrations/http.ts
@@ -257,10 +257,9 @@ export const httpIntegration = defineIntegration((options: HttpOptions = {}) =>
257
}
258
},
259
processEvent(event) {
260
- if (enableServerSpans) {
261
- return serverSpans.processEvent(event);
262
- }
263
- 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);
264
265
};
266
});
0 commit comments