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:
parent
bf8a514871
commit
578ff944a6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue