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

@ -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