Skip to content

Commit

Permalink
default handle-message method prints args
Browse files Browse the repository at this point in the history
  • Loading branch information
telent committed Mar 21, 2013
1 parent a54f6d3 commit 28f0f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/psadan/channel.clj
Expand Up @@ -24,7 +24,7 @@
(deliver promise m))))

(defmethod handle-message :default [conn m]
(println ["unknown message" (:name (:interface m)) (:message m)]))
(println ["unhandled message" (:name (:interface m)) (:message m) (:args m)]))

(defn listen [conn]
(let [buf (conn/read-buffer conn)
Expand Down

0 comments on commit 28f0f0d

Please sign in to comment.