From b45faad6cb624f9a769411dd91184193307e6876 Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Wed, 29 Nov 2017 15:29:58 +0500 Subject: [PATCH] Add another type check protection --- .../src/extension-common/11-error-handlers-api.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js index 9090c55..aadbb7c 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js @@ -155,7 +155,9 @@ timeouted( (details) => { - this.isControllable(details); + if (details) { + this.isControllable(details); + } cb(); }