Skip to content

Commit

Permalink
Reduce logging in Slack adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor Hartman committed Nov 4, 2019
1 parent ccf6207 commit d903e60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/yetibot/core/adapters/slack.clj
Original file line number Diff line number Diff line change
Expand Up @@ -446,10 +446,10 @@
;; lifecycle

(defn stop [{:keys [should-ping? conn] :as adapter}]
(timbre/info "Stop Slack" (pr-str should-ping? conn))
(timbre/info "Stop Slack" (pr-str should-ping?))
(reset! should-ping? false)
(when @conn
(timbre/info "Closing" @conn)
(timbre/info "Closing Slack")
(slack/send-event (:dispatcher @conn) :close))
(reset! conn nil))

Expand Down

0 comments on commit d903e60

Please sign in to comment.