Skip to content

Commit 5e84330

Browse files
committed
comment
1 parent 624cdb6 commit 5e84330

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/node/src/integrations/localvariables.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ export class LocalVariables implements Integration {
237237
const framePromises = callFrames.map(async ({ scopeChain, functionName, this: obj }) => {
238238
const localScope = scopeChain.find(scope => scope.type === 'local');
239239

240+
// obj.className is undefined in ESM modules
240241
const fn = obj.className === 'global' || !obj.className ? functionName : `${obj.className}.${functionName}`;
241242

242243
if (localScope?.object.objectId === undefined) {

0 commit comments

Comments
 (0)