mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
🐛 Fix incorrect error id reporting on mattermost webhook
This commit is contained in:
parent
31b13f3551
commit
07e8d110a2
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
(ns app.common.logging
|
(ns app.common.logging
|
||||||
(:require
|
(:require
|
||||||
[app.common.exceptions :as ex]
|
[app.common.exceptions :as ex]
|
||||||
|
[app.common.uuid :as uuid]
|
||||||
[clojure.pprint :refer [pprint]]
|
[clojure.pprint :refer [pprint]]
|
||||||
[cuerdas.core :as str]
|
[cuerdas.core :as str]
|
||||||
[fipp.edn :as fpp]
|
[fipp.edn :as fpp]
|
||||||
|
@ -175,7 +176,7 @@
|
||||||
`(->> (ThreadContext/getImmutableContext)
|
`(->> (ThreadContext/getImmutableContext)
|
||||||
(send-off logging-agent
|
(send-off logging-agent
|
||||||
(fn [_# cdata#]
|
(fn [_# cdata#]
|
||||||
(with-context (-> {} (into cdata#) (into ~context))
|
(with-context (-> {:id (uuid/next)} (into cdata#) (into ~context))
|
||||||
(->> (or ~raw (build-map-message ~props))
|
(->> (or ~raw (build-map-message ~props))
|
||||||
(write-log! ~logger-sym ~level-sym ~cause))))))
|
(write-log! ~logger-sym ~level-sym ~cause))))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue