Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg authored Feb 28, 2024
1 parent 4fbe895 commit adc04cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser-entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ process.listenerCount = function (name) {
process.on = function (e, fn) {
if (e === 'uncaughtException') {
global.onerror = function (msg, url, line, col, err) {
fn(err || new Error(msg + ' (' + url + ':' + line + ')'));
fn(err || new Error(msg + ' (' + url + ':' + line + ':' + col + ')'));
return !mocha.options.allowUncaught;
};
uncaughtExceptionHandlers.push(fn);
Expand Down

0 comments on commit adc04cb

Please sign in to comment.