From df1d83275da2edeab751ae6d69b1abfc7d043b8c Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Wed, 18 Feb 2015 17:20:48 +0700 Subject: [PATCH] [#63] Fix missing thaw exception cause (@cespare) --- src/taoensso/nippy.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/taoensso/nippy.clj b/src/taoensso/nippy.clj index 74621fe..71f4e6d 100644 --- a/src/taoensso/nippy.clj +++ b/src/taoensso/nippy.clj @@ -599,7 +599,8 @@ (thaw-from-in! dis)) (catch Exception e - (ex "Decryption/decompression failure, or data unfrozen/damaged."))))) + (ex "Decryption/decompression failure, or data unfrozen/damaged." + e))))) ;; This is hackish and can actually currently result in JVM core dumps ;; due to buggy Snappy behaviour, Ref. http://goo.gl/mh7Rpy.