From f94bc79a013bb86efbc19e07487eb5cd77371172 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Fri, 17 Jun 2016 12:25:31 +0700 Subject: [PATCH] Hotfix: *final-freeze-fallback* back compatibility was broken --- src/taoensso/nippy.clj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/taoensso/nippy.clj b/src/taoensso/nippy.clj index a0375ee..d7a0b0a 100644 --- a/src/taoensso/nippy.clj +++ b/src/taoensso/nippy.clj @@ -861,10 +861,12 @@ (try-write-serializable out x) (try-write-readable out x) - ;; For back compatibility: - (when-let [fff *final-freeze-fallback*] (fff out x)) + ;; For back compatibility (nb Timbre's Carmine appender) + (when-let [fff *final-freeze-fallback*] + (fff out x) + true) - (throw-unfreezable x)))) + (throw-unfreezable x)))) ;;;;