mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-18 11:19:20 +00:00
Crash on exception during startup
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user