Fork me on GitHub
#ring-swagger
<
2017-06-05
>
plins19:06:38

hello folks, i’ve seen this question hanging here in slack, but the slack client wants me to pay to look into older msgs .. sorry for the dupilcate question, i will post it on wiki as soon as i get it working… im looking at the exception-handling section of the wiki and i want to log the body of every failed request

(defn custom-handler [f type]
  (fn [^Exception e data request]
    (f {:message (.getMessage e)
        :type type
        :body (ring.util.request/body-string request)})))
this logs empty string 😞

nadejde20:06:30

Hi. Does anyone have any ideea what version of ring is compatible with [com.datomic/clj-client “0.8.606”]? I get some conflict in jetty dependency. datomic works with 9.2.21.v20170120 but ring does not (edited) If i try with a higher version ring works but datomic client does not:( how do I deal with this?