Explorar o código

ignore message errors

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
34cb0d550c
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      lib/frame-tree/content/frame-tree.js

+ 1 - 3
lib/frame-tree/content/frame-tree.js

@@ -109,9 +109,7 @@ this.FrameTree = this.FrameTree || (() => {
 				}
 				if (!pendingCount || pendingCount == 1) {
 					browser.runtime.sendMessage({ method: "FrameTree.initResponse" })
-						.catch(error => {
-							//ignored
-						});
+						.catch(() => { /* ignored */ });
 				}
 			}
 		} else {