Substitute Exception with Throwable

This commit is contained in:
Vitaliy Vlasov 2018-03-12 17:56:38 +02:00
parent 9cd5ca84c4
commit 36e4868294
No known key found for this signature in database
GPG Key ID: A7D57C347F2B2964
1 changed files with 1 additions and 1 deletions

View File

@ -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"))))