From ecbd90a2bbeef936c4a2cf676610d1a326092b4a Mon Sep 17 00:00:00 2001 From: Alexey Date: Fri, 15 May 2020 15:30:12 +0300 Subject: [PATCH] add logging for fetchGasPrice --- src/Fetcher.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Fetcher.js b/src/Fetcher.js index 2b9035c..6965ac2 100644 --- a/src/Fetcher.js +++ b/src/Fetcher.js @@ -40,7 +40,7 @@ class Fetcher { }, {}) setTimeout(() => this.fetchPrices(), 1000 * 30) } catch(e) { - console.error('fetchPrices', e) + console.error('fetchPrices', e.message) setTimeout(() => this.fetchPrices(), 1000 * 30) } } @@ -69,6 +69,7 @@ class Fetcher { } setTimeout(() => this.fetchGasPrice({ oracleIndex }), 15000) } catch (e) { + console.log('fetchGasPrice', e.message) setTimeout(() => this.fetchGasPrice({ oracleIndex }), 15000) } }