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

📎 Use name instead of pr-str of error type

This commit is contained in:
Andrey Antukh 2023-01-20 16:52:18 +01:00
parent bf8a514871
commit 578ff944a6

View file

@ -16,7 +16,7 @@
(defmacro error
[& {:keys [type hint] :as params}]
`(ex-info ~(or hint (pr-str type))
`(ex-info ~(or hint (name type))
(merge
~(dissoc params :cause ::data)
~(::data params))