Skip to content

Commit

Permalink
wrap error in rc (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkpkpk authored Oct 8, 2024
1 parent 8e96b46 commit 32b7f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/konserve/impl/defaults.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
(let [arr (<?- (-read-header ac env))]
(try
(parse-header arr serializers)
(catch Exception e
(catch #?(:clj Exception :cljs js/Error) e
(throw (ex-info "Header parsing error."
{:error e
:store-key store-key
Expand Down

0 comments on commit 32b7f25

Please sign in to comment.