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 4b66d43 commit 393737aCopy full SHA for 393737a
packages/remix/src/utils/instrumentServer.ts
@@ -93,7 +93,7 @@ export async function captureRemixServerException(err: unknown, name: string, re
93
// Skip capturing if the request is aborted as Remix docs suggest
94
// Ref: https://remix.run/docs/en/main/file-conventions/entry.server#handleerror
95
if (request.signal.aborted) {
96
- __DEBUG_BUILD__ && logger.warn('Skipping capture of aborted request');
+ DEBUG_BUILD && logger.warn('Skipping capture of aborted request');
97
return;
98
}
99
0 commit comments