Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Commit

Permalink
Actually reply back to flowdock with the message.
Browse files Browse the repository at this point in the history
  • Loading branch information
rteabeault committed Dec 19, 2013
1 parent 3f59b9d commit 80cb9cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/clojure/jarvis/bot.clj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[jarvis.plugins :as plugins]
[jarvis.util :as util]
[clj-flowdock.api.flow :as flow]
[clj-flowdock.api.message :as m]
[clj-flowdock.streaming :as streaming]
[clojure.tools.logging :as log])
(:import [java.util.concurrent Executors ExecutorService])
Expand Down Expand Up @@ -32,7 +33,7 @@
:else (command/reply message plugin))
(catch Exception e
(log/error e (plugins/command-name plugin) "threw an exception")
(.getMessage e))))))
(m/reply message (.getMessage e)))))))

(defn flow-stream [flow plugins]
(listen [flow msg flow-connection]
Expand Down

0 comments on commit 80cb9cb

Please sign in to comment.