controllers - currency - warn currency and encountered error

feature/default_network_editable
kumavis 7 years ago
parent c171ea0632
commit c4c459c8d7
  1. 2
      app/scripts/controllers/currency.js

@ -52,7 +52,7 @@ class CurrencyController {
this.setConversionDate(Number(parsedResponse.timestamp))
}).catch((err) => {
if (err) {
console.warn('MetaMask - Failed to query currency conversion.')
console.warn(`MetaMask - Failed to query currency conversion:`, currentCurrency, err)
this.setConversionRate(0)
this.setConversionDate('N/A')
}

Loading…
Cancel
Save