add logging for fetchGasPrice

This commit is contained in:
Alexey 2020-05-15 15:30:12 +03:00
parent 05a043168c
commit ecbd90a2bb
1 changed files with 2 additions and 1 deletions

View File

@ -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)
}
}