Use implicit do in catch

This commit is contained in:
Vitaliy Vlasov 2018-03-12 17:58:19 +02:00
parent 36e4868294
commit 34f3913ff4
No known key found for this signature in database
GPG Key ID: A7D57C347F2B2964
1 changed files with 2 additions and 3 deletions

View File

@ -150,9 +150,8 @@
(try
(format "%.2f" (float balance))
(catch Throwable ex
(do
(log/error "Failed to convert token value:" balance)
"0.00"))))
(log/error "Failed to convert token value:" balance)
"0.00")))
renames {:user_name :display-name
:user_avatar_url :avatar-url
:issue_title :issue-title