diff --git a/src/looped_in/promises.cljs b/src/looped_in/promises.cljs index 4601e1d..35bf743 100644 --- a/src/looped_in/promises.cljs +++ b/src/looped_in/promises.cljs @@ -16,6 +16,6 @@ (-> p (.then (fn [result] (go (>! channel result)))) - (.err (fn [err] + (.catch (fn [err] (log/error "Error resolving Promise:" err)))) channel))