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 c11eb51 commit 5a93302Copy full SHA for 5a93302
packages/node-core/src/integrations/systemError.ts
@@ -1,4 +1,4 @@
1
-import { getSystemErrorMap } from 'node:util';
+import * as util from 'node:util';
2
import { defineIntegration } from '@sentry/core';
3
4
const INTEGRATION_NAME = 'NodeSystemError';
@@ -22,7 +22,7 @@ function isSystemError(error: unknown): error is SystemError {
22
23
// Appears this is the recommended way to check for Node.js SystemError
24
// https://github.com/nodejs/node/issues/46869
25
- return getSystemErrorMap().has(error.errno);
+ return util.getSystemErrorMap().has(error.errno);
26
}
27
28
type Options = {
0 commit comments