RJMetrics / sweet-liberty

A library for building database-backed RESTful services using Clojure
Apache License 2.0
104 stars 6 forks source link

better exception logging #20

Closed b-ryan closed 8 years ago

b-ryan commented 8 years ago

The way this library currently logs exception is completely unreadable. It spits out a one-line JSON blob. This change passes the exception as the first arg to log/error in order to print stack traces.

With this change, whatever was being accomplished with the MDC handling is lost. I am hoping I can get some insight into why it was there and if I should add it back.

Currently, this is not functionally tested.

b-ryan commented 8 years ago

ping @bpiel

bpiel commented 8 years ago

approved

b-ryan commented 8 years ago

boom