0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-22 22:49:01 -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
:page-id page-id
:changes changes})))
(rx/catch (fn [cause]
(log/warn :hint "unable to update index"
:cause cause)
(rx/empty)))
(rx/ignore))))))
(defn- get-pending-commits