bhauman / rebel-readline

Terminal readline library for Clojure dialects
Eclipse Public License 1.0
684 stars 37 forks source link

Crash on (require)-ing a nonexistant file on both macOS and Linux #195

Open dyaso opened 5 years ago

dyaso commented 5 years ago

The Figwheel tutorial says "If if there was a problem finding or compiling the file the REPL will let you know", but instead it crashes:

cljs.user=> (require 'notthere)
Execution error (FileNotFoundException) at java.io.FileInputStream/open0 (FileInputStream.java:-2).
<cljs repl> (No such file or directory)

Full report at:

https://pastebin.com/faVatPQG

ETA: it only crashes when the REPL is started with clojure -m figwheel.main, not clojure -m rebel-readline.main, sorry for reporting this in the wrong place!