diff options
Diffstat (limited to 'src/content/staticNS.js')
-rw-r--r-- | src/content/staticNS.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/staticNS.js b/src/content/staticNS.js index 40e2420..828663f 100644 --- a/src/content/staticNS.js +++ b/src/content/staticNS.js @@ -49,7 +49,7 @@ {id: "fetchPolicy", url, contextUrl: url}); break; } catch (e) { - if (e.message !== "Could not esablish connection. Receiving end does not exist.") { + if (!Messages.isMissingEndpoint(e)) { break; } error("Background page ready yet, retrying to fetch policy...") |