diff --git a/common/src/app/common/exceptions.cljc b/common/src/app/common/exceptions.cljc index 0b36e532d6..a26ca25c3d 100644 --- a/common/src/app/common/exceptions.cljc +++ b/common/src/app/common/exceptions.cljc @@ -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))