Skip to content

Commit a2bf73c

Browse files
committed
fix remix??
1 parent c08020e commit a2bf73c

File tree

1 file changed

+3
-4
lines changed
  • packages/node/src/integrations

1 file changed

+3
-4
lines changed

packages/node/src/integrations/http.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,9 @@ export const httpIntegration = defineIntegration((options: HttpOptions = {}) =>
257257
}
258258
},
259259
processEvent(event) {
260-
if (enableServerSpans) {
261-
return serverSpans.processEvent(event);
262-
}
263-
return event;
260+
// Note: We always run this, even if spans are disabled
261+
// The reason being that e.g. the remix integration disables span creation here but still wants to use the ignore status codes option
262+
return serverSpans.processEvent(event);
264263
},
265264
};
266265
});

0 commit comments

Comments
 (0)