Gildas 7 лет назад
Родитель
Сommit
691032502f
1 измененных файлов с 1 добавлено и 5 удалено
  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;
 	});