From 2abe3fde7112b18db66804eaa2c06e82724e5d07 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 31 Dec 2021 00:02:19 +0100 Subject: [PATCH] :sparkles: Remove unused stacktrace from commit-chages event. --- backend/src/app/http/debug.clj | 2 +- frontend/src/app/main/data/workspace/changes.cljs | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/backend/src/app/http/debug.clj b/backend/src/app/http/debug.clj index 672665ca8..2fb023b9b 100644 --- a/backend/src/app/http/debug.clj +++ b/backend/src/app/http/debug.clj @@ -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] diff --git a/frontend/src/app/main/data/workspace/changes.cljs b/frontend/src/app/main/data/workspace/changes.cljs index 2b5a57c7d..9516d4db3 100644 --- a/frontend/src/app/main/data/workspace/changes.cljs +++ b/frontend/src/app/main/data/workspace/changes.cljs @@ -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