From 1d5bad552311c8bad9afc85573277c22436c0969 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 3 Jul 2025 10:51:42 +0200 Subject: [PATCH] :lipstick: Report file-id on file changes exception --- common/src/app/common/files/changes.cljc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/src/app/common/files/changes.cljc b/common/src/app/common/files/changes.cljc index 5dda3adb0f..c5d1812291 100644 --- a/common/src/app/common/files/changes.cljc +++ b/common/src/app/common/files/changes.cljc @@ -487,7 +487,9 @@ (cts/shape? shape-new)) (ex/raise :type :assertion :code :data-validation - :hint "invalid shape found after applying changes" + :hint (str "invalid shape found after applying changes on file " + (:id data-new)) + :file-id (:id data-new) ::sm/explain (cts/explain-shape shape-new))))))] (->> (into #{} (map :page-id) items)