0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 18:48:37 -05:00

🐛 Setting in-progress to false when export fails

This commit is contained in:
Alejandro Alonso 2022-04-06 08:28:57 +02:00
parent 39fa939f58
commit 5299465864

View file

@ -137,7 +137,7 @@
(update :export assoc :progress done :last-update (dt/now) :healthy? healthy?)
(= status "error")
(update :export assoc :error (:cause data) :last-update (dt/now) :healthy? healthy?)
(update :export assoc :in-progress false :error (:cause data) :last-update (dt/now) :healthy? healthy?)
(= status "ended")
(update :export assoc :in-progress false :last-update (dt/now) :healthy? healthy?))))