mirror of
https://github.com/penpot/penpot.git
synced 2025-02-13 10:38:13 -05:00
📎 Use name
instead of pr-str
of error type
This commit is contained in:
parent
bf8a514871
commit
578ff944a6
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
(defmacro error
|
(defmacro error
|
||||||
[& {:keys [type hint] :as params}]
|
[& {:keys [type hint] :as params}]
|
||||||
`(ex-info ~(or hint (pr-str type))
|
`(ex-info ~(or hint (name type))
|
||||||
(merge
|
(merge
|
||||||
~(dissoc params :cause ::data)
|
~(dissoc params :cause ::data)
|
||||||
~(::data params))
|
~(::data params))
|
||||||
|
|
Loading…
Add table
Reference in a new issue