Skip to content
This repository was archived by the owner on Jun 4, 2022. It is now read-only.

Commit b8c7b66

Browse files
committed
Preserve global.Error across invocations
1 parent 4a2fc77 commit b8c7b66

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/js/cljs.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ function newDevelopmentContext(): vm$Context {
132132
crypto,
133133
fs,
134134
path,
135+
Error: global.Error,
135136
getGoogleClosureCompiler: lumo.getGoogleClosureCompiler,
136137
getJSCompletions: lumo.getJSCompletions,
137138
doPrint,
@@ -166,6 +167,7 @@ function newClojureScriptContext(): { [key: string]: mixed } {
166167
crypto,
167168
fs,
168169
path,
170+
Error: global.Error,
169171
getGoogleClosureCompiler: lumo.getGoogleClosureCompiler,
170172
getJSCompletions: lumo.getJSCompletions,
171173
doPrint,

0 commit comments

Comments
 (0)