mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-23 21:39:49 +00:00
Have flightpath rethrow errors because we WANT it to crash if something goes terribly wrong
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user