mirror of
https://github.com/status-im/open-bounty.git
synced 2025-02-17 03:47:58 +00:00
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…
x
Reference in New Issue
Block a user