mirror of
https://github.com/penpot/penpot.git
synced 2026-09-24 15:48:28 +08:00
📎 Use name instead of pr-str of error type
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user