Explorar el Código

ignore errors

Gildas hace 7 años
padre
commit
41b0f3947a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      lib/browser-polyfill/custom-browser-polyfill.js

+ 2 - 2
lib/browser-polyfill/custom-browser-polyfill.js

@@ -146,11 +146,11 @@
 								.then(response => {
 									sendResponse(response);
 									if (chrome.runtime.lastError) {
-										console.error(chrome.runtime.lastError); // eslint-disable-line no-console
+										// ignored
 									}
 								})
 								.catch(error => {
-									console.error(error); // eslint-disable-line no-console
+									// ignored
 								});
 							return true;
 						}