0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-27 23:21:47 -05:00

🐛 Fix stack trace reporting on loki

This commit is contained in:
Andrey Antukh 2022-03-07 11:31:36 +01:00
parent 4f379821b5
commit 0cfd5095a7

View file

@ -58,8 +58,8 @@
[{:stream labels
:values [[(str (* (inst-ms (:created-at event)) 1000000))
(str (:message event)
(when-let [error (:error event)]
(str "\n" (:trace error))))]]}]}))
(when-let [error (:trace event)]
(str "\n" error)))]]}]}))
(defn- send-log
[uri payload i]