Skip to content
Permalink
Browse files

Find the actual 500 route in prod

  • Loading branch information...
swlkr committed Mar 15, 2019
1 parent c37f25c commit d81ba92831dc54222d1d32b6a4b8c6a32a7bdce3
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/coast/router.clj
@@ -294,6 +294,7 @@

(defn server-error-fn [routes]
(-> (filter #(= :500 (first %)) routes)
(first)
(nth 1)
(utils/keyword->symbol)
(utils/resolve-safely)))

0 comments on commit d81ba92

Please sign in to comment.
You can’t perform that action at this time.