mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
📎 Fix inconsistencies on error report context data
This commit is contained in:
parent
a04dd6cbfd
commit
103af0e31a
@ -327,7 +327,7 @@
|
||||
|
||||
(defn logging-context
|
||||
[]
|
||||
{:version/backend (:full version)})
|
||||
{:backend/version (:full version)})
|
||||
|
||||
;; Set value for all new threads bindings.
|
||||
(alter-var-root #'*assert* (constantly (contains? flags :backend-asserts)))
|
||||
|
||||
@ -50,9 +50,9 @@
|
||||
(ex-data cause))
|
||||
|
||||
ctx (-> context
|
||||
(assoc :service/tenant (cf/get :tenant))
|
||||
(assoc :service/host (cf/get :host))
|
||||
(assoc :service/public-uri (str (cf/get :public-uri)))
|
||||
(assoc :backend/tenant (cf/get :tenant))
|
||||
(assoc :backend/host (cf/get :host))
|
||||
(assoc :backend/public-uri (str (cf/get :public-uri)))
|
||||
(assoc :backend/version (:full cf/version))
|
||||
(assoc :logger/name logger)
|
||||
(assoc :logger/level level)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user