diff --git a/core/api/ApiPart.java b/core/api/ApiPart.java index 4e088e2c..14f0dba8 100644 --- a/core/api/ApiPart.java +++ b/core/api/ApiPart.java @@ -91,7 +91,7 @@ public class ApiPart implements IPartHelper catch (Exception e) { AELog.error( e ); - System.exit( 1 ); + throw new RuntimeException( "Unable to manage part API.", e ); } return clazz; }