mirror of
https://github.com/penpot/penpot.git
synced 2025-05-30 00:46:12 +02:00
🐛 Minor fix on error reporting.
This commit is contained in:
parent
c5f4ae2242
commit
9c73444102
2 changed files with 20 additions and 14 deletions
|
@ -38,9 +38,11 @@
|
|||
(rx/throw {:type :offline})
|
||||
|
||||
:else
|
||||
(rx/throw {:type :server-error
|
||||
:status (:status response)
|
||||
:body (:body response)})))
|
||||
(rx/throw (merge {:type :server-error
|
||||
:status (:status response)}
|
||||
(:body response)))))
|
||||
|
||||
|
||||
|
||||
(defn send-query!
|
||||
[id params]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue