Skip to content

Commit 9e10ad6

Browse files
authored
ref(node): Add error message to NodeFetch log (#12612)
While debugging, it is hard to find the reason why `NodeFetch` is not loading. ref #12603
1 parent fbda77b commit 9e10ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/node/src/integrations/node-fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const _nativeNodeFetchIntegration = ((options: NodeFetchOptions = {}) => {
7474
} as any);
7575
} catch (error) {
7676
// Could not load instrumentation
77-
DEBUG_BUILD && logger.log('Could not load NodeFetch instrumentation.');
77+
DEBUG_BUILD && logger.log('Error while loading NodeFetch instrumentation: \n', error);
7878
}
7979
}
8080

0 commit comments

Comments
 (0)