Permalink
Browse files

fix error

  • Loading branch information...
1 parent ae7ac57 commit 71afd30cf5d8f9aae2c81cf6f3b62846e176cae7 @sunng87 committed Apr 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/slacker/client/common.clj
@@ -104,7 +104,7 @@
;; sync request need to decode ths message in
;; caller thread
(deliver (:promise callback) msg-body))))))
- (on-error [^Exception exc]
+ (on-error [_ ^Exception exc]
(if (instance? ClosedChannelException exc)
;; remove all pending requests
(reset! rmap {})

0 comments on commit 71afd30

Please sign in to comment.