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
|
||||
(eth-gasstation-gas-price)
|
||||
(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)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue