Use correct catch function
This commit is contained in:
parent
d451c4f366
commit
a80d8b2c41
@ -16,6 +16,6 @@
|
||||
(-> p
|
||||
(.then (fn [result]
|
||||
(go (>! channel result))))
|
||||
(.err (fn [err]
|
||||
(.catch (fn [err]
|
||||
(log/error "Error resolving Promise:" err))))
|
||||
channel))
|
||||
|
Loading…
Reference in New Issue
Block a user