Skip to content

Commit

Permalink
Report widget Src for console.log (NearSocial#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Kuzyakov authored Dec 2, 2022
1 parent 64eb0e1 commit b02c57a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/vm.js
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ class VmStack {
args[0]
);
} else if (keyword === "console" && callee === "log") {
return console.log(...args);
return console.log(this.vm.widgetSrc, ...args);
}
} else {
const f = callee === keyword ? keywordType : keywordType[callee];
Expand Down

0 comments on commit b02c57a

Please sign in to comment.