From c250bbbc9d965b6d7537810f66e363ec953a5c30 Mon Sep 17 00:00:00 2001 From: Mike Thompson Date: Thu, 28 Jul 2016 15:55:02 +1000 Subject: [PATCH] Comment change --- src/re_frame/events.cljc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/re_frame/events.cljc b/src/re_frame/events.cljc index b2ec7e9..a61ff25 100644 --- a/src/re_frame/events.cljc +++ b/src/re_frame/events.cljc @@ -92,12 +92,11 @@ (let [event-id (first-in-vector event-v) handler-fn (lookup-handler event-id)] (if (nil? handler-fn) - (console :error "re-frame: no event handler registered for: \"" event-id - "\". Ignoring.") - (if *handling* + (console :error "re-frame: no event handler registered for: \"" event-id "\". Ignoring.") + (if *handling* (console :error "re-frame: while handling \"" *handling* "\" dispatch-sync was called for \"" event-v - "\". You can't call dispatch-sync in an event handler.") + "\". You can't call dispatch-sync within an event handler.") (binding [*handling* event-v] (let [stack (some-> event-v meta