Skip to content

Commit

Permalink
remove error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Nov 11, 2024
1 parent 31e340e commit 21e2729
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/nextjournal/clerk/render.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21e2729

Please sign in to comment.