Ensure wrap-stacktrace is outermost middleware

This commit is contained in:
James Reeves 2012-09-03 17:41:19 +01:00
parent eef21b0fba
commit ead59c80e2

View file

@ -68,8 +68,8 @@
(defn- add-middleware [handler options] (defn- add-middleware [handler options]
(-> handler (-> handler
(add-auto-refresh options) (add-auto-refresh options)
(add-stacktraces options) (add-auto-reload options)
(add-auto-reload options))) (add-stacktraces options)))
(defn serve (defn serve
"Start a web server to run a handler. Takes the following options: "Start a web server to run a handler. Takes the following options: