aboutsummaryrefslogtreecommitdiff
path: root/env/dev/clj/queue_api/dev_middleware.clj
blob: af6467855d1f07c52b0101cc63dc98fcba953f40 (plain)
1
2
3
4
5
6
7
8
(ns queue-api.dev-middleware
  (:require [ring.middleware.reload :refer [wrap-reload]]
            [prone.middleware :refer [wrap-exceptions]]))

(defn wrap-dev [handler]
  (-> handler
      wrap-reload
      wrap-exceptions))