diff --git a/src/com/score_the_pigs/app.clj b/src/com/score_the_pigs/app.clj index e163fb3..ff86315 100644 --- a/src/com/score_the_pigs/app.clj +++ b/src/com/score_the_pigs/app.clj @@ -1,6 +1,7 @@ (ns com.score-the-pigs.app (:require [clojure.pprint :as pp] + [clojure.tools.logging :as log] [clojure.string :as str] [com.biffweb :as biff] [com.score-the-pigs.middleware :refer [wrap-clean-up-param-vals]] @@ -385,9 +386,10 @@ end"} [:= :game_code game-code] [:= :play_order current-player]]})))) - update-display-table (delay (jetty/send! (get @chat-clients game-code) - (rum/render-static-markup - (player-summary game-code ds))))] + update-display-table (delay (log/info "sent webhook to" (get @chat-clients game-code) ", a webhook client for game" game-code ", with result" + (jetty/send! (get @chat-clients game-code) + (rum/render-static-markup + (player-summary game-code ds)))))] (cond (= score ::pig-out)