mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 13:01:40 +02:00
🎉 Add optional loki integration.
And refactor internal error reporting.
This commit is contained in:
parent
90d7efe3a9
commit
c1476d0397
15 changed files with 331 additions and 98 deletions
|
@ -12,7 +12,6 @@
|
|||
(:require
|
||||
[app.common.spec :as us]
|
||||
[app.common.uuid :as uuid]
|
||||
[app.config :as cfg]
|
||||
[app.db :as db]
|
||||
[app.util.async :as aa]
|
||||
[app.util.log4j :refer [update-thread-context!]]
|
||||
|
@ -210,10 +209,6 @@
|
|||
[error item]
|
||||
(let [edata (ex-data error)]
|
||||
{:id (uuid/next)
|
||||
:version (:full cfg/version)
|
||||
:host (:public-uri cfg/config)
|
||||
:class (.getCanonicalName ^java.lang.Class (class error))
|
||||
:hint (ex-message error)
|
||||
:data edata
|
||||
:params item}))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue