              ring.util.response/response
              (ring.util.response/status 500)
              (ring.util.response/content-type "application/transit+json;charset=utf-8"))))))
-
-
-
-
-
-
-
-
-
-

     (-> ~@body
         ring.util.response/response
         (ring.util.response/content-type "application/transit+json;charset=utf-8"))
     (catch Exception ex#
       (do
         (clojure.stacktrace/print-stack-trace ex#)

  (:import (java.io ByteArrayOutputStream))
  (:require [ring.util.response :refer :all]
            [plumbing.core :refer [keywordize-map]]
            [cognitect.transit :as transit]
            [clojure.stacktrace]))

(defn- write [x t opts]
  (let [baos (ByteArrayOutputStream.)
