Substitute Exception with Throwable
This commit is contained in:
parent
9cd5ca84c4
commit
36e4868294
|
@ -149,7 +149,7 @@
|
||||||
(let [format-float (fn [balance]
|
(let [format-float (fn [balance]
|
||||||
(try
|
(try
|
||||||
(format "%.2f" (float balance))
|
(format "%.2f" (float balance))
|
||||||
(catch Exception ex
|
(catch Throwable ex
|
||||||
(do
|
(do
|
||||||
(log/error "Failed to convert token value:" balance)
|
(log/error "Failed to convert token value:" balance)
|
||||||
"0.00"))))
|
"0.00"))))
|
||||||
|
|
Loading…
Reference in New Issue