Fix bug which meant unknown effects were silently ignored.

This commit is contained in:
Mike Thompson 2016-08-12 13:18:59 +10:00
parent de25e28997
commit ec08a824a1
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
[context]
(->> (:effects context)
(map (fn [[key val]]
(if-let [effect-fn (get-handler kind key)]
(if-let [effect-fn (get-handler kind key true)]
(effect-fn val))))
doall))))