0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-02 04:19:08 -05:00

🐛 Fix unexpected exception on frontend test

caused by unexpected return nil on a merge-map
This commit is contained in:
Andrey Antukh 2024-08-07 15:36:37 +02:00 committed by Andrés Moya
parent 3917215952
commit bde1cd3f5f

View file

@ -56,6 +56,10 @@
(uw/ask! {:cmd :update-page-index (uw/ask! {:cmd :update-page-index
:page-id page-id :page-id page-id
:changes changes}))) :changes changes})))
(rx/catch (fn [cause]
(log/warn :hint "unable to update index"
:cause cause)
(rx/empty)))
(rx/ignore)))))) (rx/ignore))))))
(defn- get-pending-commits (defn- get-pending-commits