diff --git a/CHANGELOG.md b/CHANGELOG.md index 350c05d..ec06bef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/). ## [Unreleased] +### Fixed +- Wrapped Throwable in validate-ep-identifier with reader conditional ## 0.3.0 - 2018-07-18 ### Fixed diff --git a/src/sc/impl.cljc b/src/sc/impl.cljc index 2d9df7e..bb83f90 100644 --- a/src/sc/impl.cljc +++ b/src/sc/impl.cljc @@ -49,7 +49,7 @@ "ep-id should be either a positive number or a [(positive-number) (negative-number)] tuple, got: " (try (pr-str ep-id) - (catch Throwable err + (catch #?(:clj Throwable :cljs :default) err "(failed to print)"))) {:sc.api.error/error-type :sc.api.error-types/invalid-ep-id