Skip to content

Commit bca6798

Browse files
authored
pm-log-capture.js -- try apply instead of call
1 parent 2c7c0f4 commit bca6798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/pm-log-capture.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ if (!String(window.location.href).startsWith(`http://localhost:`)) {
220220
let stack = [];
221221
if (browserHasStack) stack = parseStack(new Error().stack);
222222
push(name, args, stack);
223-
item.call(console, ...args, new StackTrace());
223+
item.apply(console, ...args, new StackTrace());
224224
};
225225
}
226226
}

0 commit comments

Comments
 (0)