Have flightpath rethrow errors because we WANT it to crash if something goes terribly wrong

This commit is contained in:
Bernhard Bonigl committed 2016-01-05 17:57:47 +01:00
1 parent 65c75c0bab
commit 0fe940c90a
1 file changed
+3
@@ -27,6 +27,9 @@ 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;
}
}
@Override