Skip to content

Commit 4a9ce39

Browse files
committed
CLJ-2529 Set exception phase for runtime exceptions caught in Compiler.load()
Signed-off-by: Alex Miller <alex.miller@cognitect.com>
1 parent 19e3a27 commit 4a9ce39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/jvm/clojure/lang/Compiler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7662,7 +7662,7 @@ public static Object load(Reader rdr, String sourcePath, String sourceName) {
76627662
catch(Throwable e)
76637663
{
76647664
if(!(e instanceof CompilerException))
7665-
throw new CompilerException(sourcePath, (Integer) LINE_BEFORE.deref(), (Integer) COLUMN_BEFORE.deref(), e);
7665+
throw new CompilerException(sourcePath, (Integer) LINE_BEFORE.deref(), (Integer) COLUMN_BEFORE.deref(), null, CompilerException.PHASE_EXECUTION, e);
76667666
else
76677667
throw (CompilerException) e;
76687668
}

0 commit comments

Comments
 (0)