Skip to content

Commit bee1d56

Browse files
committed
ScriptREPL: dump exceptions to the OutputStream
We don't want to use the log, but rather the designated stream.
1 parent 1f41932 commit bee1d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/scijava/script/ScriptREPL.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ private List<Gateway> gateways() {
341341
gateways.add(gateway);
342342
}
343343
catch (final Throwable t) {
344-
if (log != null) log.error(t);
344+
t.printStackTrace(out);
345345
}
346346
}
347347
return gateways;

0 commit comments

Comments
 (0)