mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
📎 Add minor changes on error reports
This commit is contained in:
parent
9b88d35664
commit
45405a018b
@ -31,7 +31,7 @@
|
|||||||
(assoc :request/user-agent (yreq/get-header request "user-agent"))
|
(assoc :request/user-agent (yreq/get-header request "user-agent"))
|
||||||
(assoc :request/ip-addr (inet/parse-request request))
|
(assoc :request/ip-addr (inet/parse-request request))
|
||||||
(assoc :request/profile-id (get claims :uid))
|
(assoc :request/profile-id (get claims :uid))
|
||||||
(assoc :request/auth-data auth)
|
(assoc :request/auth-data (dissoc auth :token))
|
||||||
(assoc :frontend/version (or (yreq/get-header request "x-frontend-version") "unknown")))))
|
(assoc :frontend/version (or (yreq/get-header request "x-frontend-version") "unknown")))))
|
||||||
|
|
||||||
(defmulti handle-error
|
(defmulti handle-error
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user