Use correct catch function

This commit is contained in:
Jeremy Dormitzer 2018-01-10 18:55:27 -05:00
parent d451c4f366
commit a80d8b2c41
No known key found for this signature in database
GPG Key ID: 04F17C0F5A32C320

View File

@ -16,6 +16,6 @@
(-> p
(.then (fn [result]
(go (>! channel result))))
(.err (fn [err]
(.catch (fn [err]
(log/error "Error resolving Promise:" err))))
channel))