mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2025-07-24 15:25:37 -04:00
add logging for fetchGasPrice
This commit is contained in:
parent
05a043168c
commit
ecbd90a2bb
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue