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 624cdb6 commit 5e84330Copy full SHA for 5e84330
packages/node/src/integrations/localvariables.ts
@@ -237,6 +237,7 @@ export class LocalVariables implements Integration {
237
const framePromises = callFrames.map(async ({ scopeChain, functionName, this: obj }) => {
238
const localScope = scopeChain.find(scope => scope.type === 'local');
239
240
+ // obj.className is undefined in ESM modules
241
const fn = obj.className === 'global' || !obj.className ? functionName : `${obj.className}.${functionName}`;
242
243
if (localScope?.object.objectId === undefined) {
0 commit comments