Moved Integration Exceptions behind a Setting.
This commit is contained in:
@@ -50,4 +50,12 @@ public class AELog
|
|||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void integration(Throwable exception)
|
||||||
|
{
|
||||||
|
if ( AEConfig.instance.isFeatureEnabled( AEFeature.IntegrationLogging ) )
|
||||||
|
{
|
||||||
|
error( exception );
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ package appeng.integration;
|
|||||||
import java.lang.reflect.Field;
|
import java.lang.reflect.Field;
|
||||||
|
|
||||||
import appeng.api.exceptions.ModNotInstalled;
|
import appeng.api.exceptions.ModNotInstalled;
|
||||||
import appeng.core.AELog;
|
|
||||||
import appeng.core.AEConfig;
|
import appeng.core.AEConfig;
|
||||||
|
import appeng.core.AELog;
|
||||||
import cpw.mods.fml.common.Loader;
|
import cpw.mods.fml.common.Loader;
|
||||||
|
|
||||||
public class IntegrationNode
|
public class IntegrationNode
|
||||||
@@ -89,7 +89,7 @@ public class IntegrationNode
|
|||||||
{
|
{
|
||||||
AELog.info( displayName + " - Integration Disabled" );
|
AELog.info( displayName + " - Integration Disabled" );
|
||||||
if ( !(exception instanceof ModNotInstalled) )
|
if ( !(exception instanceof ModNotInstalled) )
|
||||||
AELog.error( exception );
|
AELog.integration( exception );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user