From 578ff944a6ca46321fc1a17a8ca099c8e9e0e271 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 20 Jan 2023 16:52:18 +0100 Subject: [PATCH] :paperclip: Use `name` instead of `pr-str` of error type --- common/src/app/common/exceptions.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))