We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3fcd90 commit a5993b3Copy full SHA for a5993b3
src/main/java/org/scijava/module/ModuleRunner.java
@@ -124,12 +124,10 @@ public Module call() {
124
run();
125
}
126
catch (final RuntimeException exc) {
127
- if (log != null) log.error("Module threw exception", exc);
128
- throw exc;
+ throw new RuntimeException("Module threw exception", exc);
129
130
catch (final Error err) {
131
- if (log != null) log.error("Module threw error", err);
132
- throw err;
+ throw new RuntimeException("Module threw error", err);
133
134
return module;
135
0 commit comments