Minor improvements on error reporting.

Add missing expound.
This commit is contained in:
Andrey Antukh 2022-01-26 14:18:44 +01:00
parent 9f7a04e330
commit 110fb2e8db
4 changed files with 22 additions and 7 deletions

View file

@ -180,7 +180,7 @@
`(->> (ThreadContext/getImmutableContext)
(send-off logging-agent
(fn [_# cdata#]
(with-context (into {:cause ~cause} cdata#)
(with-context (into {} cdata#)
(->> (or ~raw (build-map-message ~props))
(write-log! ~logger-sym ~level-sym ~cause))))))