Skip to content

Commit

Permalink
Clarify error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias committed Apr 6, 2015
1 parent bb830e1 commit a7612c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/immutant/web/async.clj
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
(extend-protocol MessageDispatch
Object
(dispatch-message [message _ _]
(throw (IllegalStateException. (str "Can't pump source of type " (class message)))))
(throw (IllegalStateException. (str "Can't send message of type " (class message)))))

nil
(dispatch-message [_ ch options]
Expand Down

0 comments on commit a7612c5

Please sign in to comment.