From 21e2729cc2ef6bfde42dc7cbc8f84c5c4b05c4e4 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Mon, 11 Nov 2024 17:32:11 +0100 Subject: [PATCH] remove error logging --- src/nextjournal/clerk/render.cljs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/nextjournal/clerk/render.cljs b/src/nextjournal/clerk/render.cljs index 1ba86ee3d..9e4a3431c 100644 --- a/src/nextjournal/clerk/render.cljs +++ b/src/nextjournal/clerk/render.cljs @@ -848,10 +848,6 @@ :headers (.-headers r)}))))) (then read-response+show-progress) (then (fn [edn] - (binding [*print-fn* *print-err-fn*] - (println "EDN!!!!") - (println edn) - (println "---")) (set-state! {:doc (read-string edn)}) {:ok true})) (catch (fn [e] (js/console.error "Fetch failed" e) (set-state! {:doc {:nextjournal/viewer {:render-fn (constantly [:<>])} ;; FIXME: make :error top level on state