Skip to content

Instantly share code, notes, and snippets.

@m0smith
Created August 26, 2019 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m0smith/19bb55dda0992b3f4b623e9940fde9e7 to your computer and use it in GitHub Desktop.
Save m0smith/19bb55dda0992b3f4b623e9940fde9e7 to your computer and use it in GitHub Desktop.
Fixes StackOverflowError with Cider, Datomic Ions and Nrepl
(ns bug-demo
(:require [datomic.ion.cast :as cast]
[clojure.java.io :refer [output-stream]]))
(cast/initialize-redirect :stderr) ; instead of :stdout
(cast/event {:msg "ShouldNotCauseAStackOverflowErrorInCider"})
@cesarolea
Copy link

Thanks you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment