aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers/blacklist.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-04-04 01:50:03 +0800
committerGitHub <noreply@github.com>2018-04-04 01:50:03 +0800
commit11d4f3200eb68033c11aa6a57fc6e0ef2d019076 (patch)
tree54c55a8223ce9d90783b02902e60ea4fb9ba4136 /app/scripts/controllers/blacklist.js
parent3e4b11e0d701441720bec665167984240a2aca56 (diff)
parent038ad914541c3a4e6579da5b1ac79ba41b33cfb3 (diff)
downloadtangerine-wallet-browser-11d4f3200eb68033c11aa6a57fc6e0ef2d019076.tar
tangerine-wallet-browser-11d4f3200eb68033c11aa6a57fc6e0ef2d019076.tar.gz
tangerine-wallet-browser-11d4f3200eb68033c11aa6a57fc6e0ef2d019076.tar.bz2
tangerine-wallet-browser-11d4f3200eb68033c11aa6a57fc6e0ef2d019076.tar.lz
tangerine-wallet-browser-11d4f3200eb68033c11aa6a57fc6e0ef2d019076.tar.xz
tangerine-wallet-browser-11d4f3200eb68033c11aa6a57fc6e0ef2d019076.tar.zst
tangerine-wallet-browser-11d4f3200eb68033c11aa6a57fc6e0ef2d019076.zip
Merge pull request #3846 from MetaMask/fetch-err-warn
app - warn on fetch errors instead of spamming sentry
Diffstat (limited to 'app/scripts/controllers/blacklist.js')
-rw-r--r--app/scripts/controllers/blacklist.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/scripts/controllers/blacklist.js b/app/scripts/controllers/blacklist.js
index 33c31dab9..df41c90c0 100644
--- a/app/scripts/controllers/blacklist.js
+++ b/app/scripts/controllers/blacklist.js
@@ -41,9 +41,9 @@ class BlacklistController {
scheduleUpdates () {
if (this._phishingUpdateIntervalRef) return
- this.updatePhishingList()
+ this.updatePhishingList().catch(log.warn)
this._phishingUpdateIntervalRef = setInterval(() => {
- this.updatePhishingList()
+ this.updatePhishingList().catch(log.warn)
}, POLLING_INTERVAL)
}
@@ -57,4 +57,3 @@ class BlacklistController {
}
module.exports = BlacklistController
-