mirror of
https://github.com/penpot/penpot.git
synced 2025-06-04 10:21:37 +02:00
Merge pull request #4926 from penpot/niwinz-fix-error-report
🐛 Fix regression on error reporting
This commit is contained in:
commit
4b6d3546e0
4 changed files with 15 additions and 20 deletions
|
@ -12,7 +12,6 @@
|
|||
[app.common.uuid :as uuid]
|
||||
[app.main.data.changes :as dch]
|
||||
[app.main.repo :as rp]
|
||||
[app.util.router :as rt]
|
||||
[beicon.v2.core :as rx]
|
||||
[potok.v2.core :as ptk]))
|
||||
|
||||
|
@ -131,8 +130,7 @@
|
|||
(rx/concat
|
||||
(if (= :authentication (:type cause))
|
||||
(rx/empty)
|
||||
(rx/of (rt/assign-exception cause)
|
||||
(ptk/data-event ::error cause)
|
||||
(rx/of (ptk/data-event ::error cause)
|
||||
(update-status :error)))
|
||||
(rx/of (discard-persistence-state))
|
||||
(rx/throw cause))))))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue