mirror of
https://github.com/penpot/penpot.git
synced 2025-01-25 07:58:49 -05:00
✨ Remove unused stacktrace from commit-chages event.
This commit is contained in:
parent
27e64ccaa8
commit
2abe3fde71
2 changed files with 2 additions and 5 deletions
|
@ -14,8 +14,8 @@
|
||||||
[app.db :as db]
|
[app.db :as db]
|
||||||
[app.rpc.queries.profile :as profile]
|
[app.rpc.queries.profile :as profile]
|
||||||
[app.util.blob :as blob]
|
[app.util.blob :as blob]
|
||||||
[app.util.time :as dt]
|
|
||||||
[app.util.template :as tmpl]
|
[app.util.template :as tmpl]
|
||||||
|
[app.util.time :as dt]
|
||||||
[clojure.java.io :as io]
|
[clojure.java.io :as io]
|
||||||
[clojure.pprint :as ppr]
|
[clojure.pprint :as ppr]
|
||||||
[cuerdas.core :as str]
|
[cuerdas.core :as str]
|
||||||
|
|
|
@ -120,16 +120,13 @@
|
||||||
(log/debug :msg "commit-changes"
|
(log/debug :msg "commit-changes"
|
||||||
:js/redo-changes redo-changes
|
:js/redo-changes redo-changes
|
||||||
:js/undo-changes undo-changes)
|
:js/undo-changes undo-changes)
|
||||||
(let [error (volatile! nil)
|
(let [error (volatile! nil)]
|
||||||
strace (.-stack (ex-info "" {}))]
|
|
||||||
|
|
||||||
(ptk/reify ::commit-changes
|
(ptk/reify ::commit-changes
|
||||||
cljs.core/IDeref
|
cljs.core/IDeref
|
||||||
(-deref [_]
|
(-deref [_]
|
||||||
{:file-id file-id
|
{:file-id file-id
|
||||||
:hint-events @st/last-events
|
:hint-events @st/last-events
|
||||||
:hint-origin (ptk/type origin)
|
:hint-origin (ptk/type origin)
|
||||||
:hint-strace strace
|
|
||||||
:changes redo-changes})
|
:changes redo-changes})
|
||||||
|
|
||||||
ptk/UpdateEvent
|
ptk/UpdateEvent
|
||||||
|
|
Loading…
Add table
Reference in a new issue