Skip to content

Commit

Permalink
ref(node): Add error message to NodeFetch log (#12612)
Browse files Browse the repository at this point in the history
While debugging, it is hard to find the reason why `NodeFetch` is not
loading.

ref #12603
  • Loading branch information
s1gr1d authored Jun 24, 2024
1 parent fbda77b commit 9e10ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/node/src/integrations/node-fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const _nativeNodeFetchIntegration = ((options: NodeFetchOptions = {}) => {
} as any);
} catch (error) {
// Could not load instrumentation
DEBUG_BUILD && logger.log('Could not load NodeFetch instrumentation.');
DEBUG_BUILD && logger.log('Error while loading NodeFetch instrumentation: \n', error);
}
}

Expand Down

0 comments on commit 9e10ad6

Please sign in to comment.