Explorar o código

removed pointless code

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
691032502f
Modificáronse 1 ficheiros con 1 adicións e 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;
 	});