0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

Remove unused stacktrace from commit-chages event.

This commit is contained in:
Andrey Antukh 2021-12-31 00:02:19 +01:00
parent 27e64ccaa8
commit 2abe3fde71
2 changed files with 2 additions and 5 deletions

View file

@ -14,8 +14,8 @@
[app.db :as db]
[app.rpc.queries.profile :as profile]
[app.util.blob :as blob]
[app.util.time :as dt]
[app.util.template :as tmpl]
[app.util.time :as dt]
[clojure.java.io :as io]
[clojure.pprint :as ppr]
[cuerdas.core :as str]

View file

@ -120,16 +120,13 @@
(log/debug :msg "commit-changes"
:js/redo-changes redo-changes
:js/undo-changes undo-changes)
(let [error (volatile! nil)
strace (.-stack (ex-info "" {}))]
(let [error (volatile! nil)]
(ptk/reify ::commit-changes
cljs.core/IDeref
(-deref [_]
{:file-id file-id
:hint-events @st/last-events
:hint-origin (ptk/type origin)
:hint-strace strace
:changes redo-changes})
ptk/UpdateEvent