Explorar el Código

removed pointless code

Gildas hace 7 años
padre
commit
691032502f
Se han modificado 1 ficheros con 1 adiciones y 5 borrados
  1. 1 5
      lib/fetch/bg/fetch.js

+ 1 - 5
lib/fetch/bg/fetch.js

@@ -35,11 +35,7 @@
 			}
 			send(response);
 		};
-		try {
-			onRequest(request, sendResponse);
-		} catch (error) {
-			sendResponse({ error });
-		}
+		onRequest(request, sendResponse);
 		return true;
 	});