diff --git a/background/update.js b/background/update.js index 18be9280..918b46f4 100644 --- a/background/update.js +++ b/background/update.js @@ -103,7 +103,7 @@ global API_METHODS function reportFailure(error) { // retry once if the error is 503 Service Unavailable - if (error === 503 && !retrying.get(id)) { + if (error === 503 && !retrying.has(id)) { retrying.add(id); return new Promise(resolve => { setTimeout(() => {