cljs.repl is not loaded in node socket io-prepl, which is required for formatting errors (err->str)

Description

Mike introduced a change to improve spec failure output in this commit: https://github.com/clojure/clojurescript/commit/59997385d85e7e1af1559d599eb51fdb1d7e93b1#diff-cba27ef5577ebe459e904b894c982c0bR89

This code depends on `cljs.repl` being loaded, this is not the case by default in a ClojureScript socket based io-prepl. If an error is thrown it will instead throw again because it can't find `cljs.repl/err->str` (the name will appear munged in the JavaScript stacktrace).

Environment

None

Assignee

Unassigned

Reporter

Oliver Caldwell

Labels

Approval

Triaged

Patch

None

Priority

Major
Configure