0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-10 00:58:26 -05:00

📎 Add minor improvement to events ns error logging

This commit is contained in:
Andrey Antukh 2023-07-20 10:56:57 +02:00
parent 27fb4c7ed9
commit 9b9c5822d1

View file

@ -222,9 +222,7 @@
:body (http/transit-data {:events events})}]
(->> (http/send! params)
(rx/mapcat rp/handle-response)
(rx/catch (fn [_]
(l/error :hint "unexpected error on persisting audit events")
(rx/of nil)))))
(rx/catch (fn [_] (rx/of nil)))))
(rx/of nil)))