Permalink
Browse files

emit error message when :corrupted event is received

  • Loading branch information...
1 parent 343d1b0 commit ade913ae997ffe84f0cebb57fa0de7d0dedecec1 @cemerick committed Feb 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/clojure/cemerick/pomegranate/aether.clj
@@ -84,7 +84,7 @@
(print (case method :get "Retreiving" :put "Sending") name)
(when (pos? size) (print (format " (%sk)" (Math/round (double (max 1 (/ size 1024)))))))
(reset! need-newline? true))
- :failed (when error (println (.getMessage error)))
+ (:corrupted :failed) (when error (println (.getMessage error)))
nil)))))
(defn- repository-system

0 comments on commit ade913a

Please sign in to comment.