mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-09 09:12:07 +00:00
just print cause of eth gas station throwable, 522 will be enough to tell it timed out without obliterating readability of logs
This commit is contained in:
parent
931da34eab
commit
2289c6b14a
@ -48,7 +48,10 @@
|
|||||||
(try
|
(try
|
||||||
(eth-gasstation-gas-price)
|
(eth-gasstation-gas-price)
|
||||||
(catch Throwable t
|
(catch Throwable t
|
||||||
(log/error "Failed to get gas price with ethgasstation API" t)
|
(let [cause (-> t
|
||||||
|
Throwable->map
|
||||||
|
:cause)]
|
||||||
|
(log/error "Failed to get gas price with ethgasstation API" cause))
|
||||||
(gas-price-from-config)))
|
(gas-price-from-config)))
|
||||||
(gas-price-from-config)))
|
(gas-price-from-config)))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user