From e2545915b816322cf922dbb3ff8a63f945d1cad6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Albeza?= Date: Tue, 2 Jun 2026 16:17:22 +0200 Subject: [PATCH] :wrench: Fix log level of migration exceptions (#9986) --- .../src/app/common/files/comp_processors.cljc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/common/src/app/common/files/comp_processors.cljc b/common/src/app/common/files/comp_processors.cljc index f88b7f5636..ed2ca8b51e 100644 --- a/common/src/app/common/files/comp_processors.cljc +++ b/common/src/app/common/files/comp_processors.cljc @@ -57,9 +57,9 @@ {:result :update :updated-shape (dissoc shape :component-root)}) {:result :keep}))) (catch #?(:clj Throwable :cljs :default) e - (log/error :msg "Failed to normalize :component-root on shapes" - :file-id (:id file-data) - :cause e) + (log/warn :msg "Failed to normalize :component-root on shapes" + :file-id (:id file-data) + :cause e) file-data))) (defn fix-missing-swap-slots @@ -89,9 +89,9 @@ {:result :keep})) {:result :keep}))) (catch #?(:clj Throwable :cljs :default) e - (log/error :msg "Failed to fix missing swap slots on shapes" - :file-id (:id file-data) - :cause e) + (log/warn :msg "Failed to fix missing swap slots on shapes" + :file-id (:id file-data) + :cause e) file-data))) (defn sync-component-id-with-ref-shape @@ -136,9 +136,9 @@ {:result :keep})) {:result :keep}))) (catch #?(:clj Throwable :cljs :default) e - (log/error :msg "Failed to sync component id and file with ref shape" - :file-id (:id file-data) - :cause e) + (log/warn :msg "Failed to sync component id and file with ref shape" + :file-id (:id file-data) + :cause e) file-data)))] ;; If a copy inside a main is updated, we need to repeat the process for the change to be ;; propagated to all copies.