Skip to content

Commit 393737a

Browse files
committed
Rename __DEBUG_BUILD__ usage.
1 parent 4b66d43 commit 393737a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/remix/src/utils/instrumentServer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export async function captureRemixServerException(err: unknown, name: string, re
9393
// Skip capturing if the request is aborted as Remix docs suggest
9494
// Ref: https://remix.run/docs/en/main/file-conventions/entry.server#handleerror
9595
if (request.signal.aborted) {
96-
__DEBUG_BUILD__ && logger.warn('Skipping capture of aborted request');
96+
DEBUG_BUILD && logger.warn('Skipping capture of aborted request');
9797
return;
9898
}
9999

0 commit comments

Comments
 (0)