timbre 2023-06-06

How to log errors in timbre? (log/info "a" {:b 42} (ex-info "c" {:d :e})) works, but it does not generate :?err key in middlewares.

The exception should be the first arg

(log/info (ex-info "boom" {}) "log string")
It's described briefly here: https://ptaoussanis.github.io/timbre/taoensso.timbre.html under LOG DATA for *config*
:?err            ; First-arg platform error, or nil