mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 11:59:25 +00:00
Fix missing string parameters in some log messages (#5210)
This commit is contained in:
1 parent
7496e3dbdf
commit
3f70fd49ff
1 file changed
+4
-4
@@ -72,7 +72,7 @@ public class ObfuscationReflectionHelper
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.error(REFLECTION, "There was a problem getting field index {} from {}", classToAccess.getName(), e);
|
||||
LOGGER.error(REFLECTION, "There was a problem getting field index {} from {}", fieldIndex, classToAccess.getName(), e);
|
||||
throw new UnableToAccessFieldException(e);
|
||||
}
|
||||
}
|
||||
@@ -105,7 +105,7 @@ public class ObfuscationReflectionHelper
|
||||
}
|
||||
catch (IllegalAccessException e)
|
||||
{
|
||||
LOGGER.error("There was a problem setting field index {} on type {}", classToAccess.getName(), e);
|
||||
LOGGER.error("There was a problem setting field index {} on type {}", fieldIndex, classToAccess.getName(), e);
|
||||
throw new UnableToAccessFieldException(e);
|
||||
}
|
||||
}
|
||||
@@ -118,12 +118,12 @@ public class ObfuscationReflectionHelper
|
||||
}
|
||||
catch (UnableToFindFieldException e)
|
||||
{
|
||||
LOGGER.error("Unable to locate any field {} on type {}", classToAccess.getName(), e);
|
||||
LOGGER.error("Unable to locate any field {} on type {}", fieldName, classToAccess.getName(), e);
|
||||
throw e;
|
||||
}
|
||||
catch (IllegalAccessException e)
|
||||
{
|
||||
LOGGER.error("Unable to set any field {} on type {}", classToAccess.getName(), e);
|
||||
LOGGER.error("Unable to set any field {} on type {}", fieldName, classToAccess.getName(), e);
|
||||
throw new UnableToAccessFieldException(e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user