Permalink
Browse files

s/with/wrap/

  • Loading branch information...
1 parent 62af1e0 commit 6adedde46995aec154f83674e92f9ea455655b76 @zk committed Apr 6, 2011
Showing with 4 additions and 3 deletions.
  1. +2 −1 project.clj
  2. +2 −2 src/clj_exceptional.clj
View
@@ -4,4 +4,5 @@
[org.clojure/clojure-contrib "1.2.0"]
[cheshire "1.1.0"]
[clj-http "0.1.3"]]
- :dev-dependencies [[swank-clojure "1.2.0"]])
+ :dev-dependencies [[swank-clojure "1.2.0"]
+ [lein-clojars "0.6.0"]])
@@ -176,7 +176,7 @@
(headers (:headers req))))
-(defn with-exceptional-catch
+(defn wrap-exceptional-catch
"Ring middleware for posting all exceptions to Exceptional. Exceptions
are rethrown after posting. Adds request data to exceptional map."
[handler]
@@ -185,7 +185,7 @@
(add-request req)
(handler req))))
-(defn with-exceptional-rethrow
+(defn wrap-exceptional-rethrow
"Ring middleware for posting all exceptions to Exceptional. Exceptions
are rethrown after posting. Adds request data to exceptional map."
[handler]

0 comments on commit 6adedde

Please sign in to comment.