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

Add missing console.log on zip export error reporting

This commit is contained in:
Andrey Antukh 2023-11-20 10:41:11 +01:00 committed by Andrés Moya
parent 344da75088
commit 24fc4d4d54

View file

@ -447,8 +447,8 @@
:mtype "application/zip"
:description "Penpot export (*.zip)"
:uri (wapi/create-uri export-blob)}))))
(rx/catch
(fn [err]
(rx/of {:type :error
(rx/catch (fn [err]
(js/console.error err)
(rx/of {:type :error
:error (str err)
:file-id (:id file)}))))))))