Permalink
Browse files

Don't throw exceptions.

  • Loading branch information...
1 parent 77d2263 commit 1902d9ecf08e2bcaf476001f83fc10f5f1635620 @drewr committed with Aug 8, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/esperanto/http.clj
View
@@ -6,7 +6,8 @@
(let [opts (if (map? (:body opts))
(assoc opts :body (json/encode (:body opts)))
opts)
- resp (http/request (merge {:throw-entire-message? true}
+ resp (http/request (merge {:throw-entire-message? true
+ :throw-exceptions false}
opts))
body (if (string? (:body resp))
(try

0 comments on commit 1902d9e

Please sign in to comment.