Crash on exception during startup

This commit is contained in:
Bernhard Bonigl committed 2016-03-17 13:43:51 +01:00
1 parent 5d88f2de57
commit 3adbcf3033
1 file changed
+1 -3
@@ -27,9 +27,7 @@ public final class BusExceptionHandler implements IExceptionHandler {
@Override
public void handle(Exception ex) {
this.logger.error("Exception caught from a pulse on flightpath for mod ID " + id + ": ", ex);
if(ex instanceof RuntimeException) {
throw (RuntimeException)ex;
}
throw new Error(ex);
}
@Override