From 0e018f82c292e528b35a57d77f9a30604caede79 Mon Sep 17 00:00:00 2001 From: tophf Date: Tue, 24 Dec 2024 17:40:31 +0300 Subject: [PATCH] don't print sendResponse in debug logging --- src/js/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/browser.js b/src/js/browser.js index 79d20c57b2..86a5e3060f 100644 --- a/src/js/browser.js +++ b/src/js/browser.js @@ -122,7 +122,7 @@ function patchEventListener(obj, name, fn) { case 'addListener': res = (cb, ...opts) => fn.call(obj, (...args) => { - console.log(name, ...args); + console.log(name, ...name === 'onMessage' ? args.slice(0, 2) : args); return cb(...args); }, ...opts); origListeners.set(fn, res);