Skip to content

Commit

Permalink
Wrapped Throwable in validate-ep-identifier with reader conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Waeselynck committed Oct 2, 2018
1 parent f433350 commit 897978e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/sc/impl.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 897978e

Please sign in to comment.