mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
📎 Use name instead of pr-str of error type
This commit is contained in:
parent
bf8a514871
commit
578ff944a6
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user