CORE-5832: updated the rest of the donkey endpoints to use the error trapping function in clojure-commons