mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Only warn against missing mod meta files in Release mode on log-level debug or higher.
This commit is contained in:
parent
5d97f77dc3
commit
80d5da3c05
1 changed files with 6 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ namespace Penumbra.Mods
|
|||
{
|
||||
foreach( var ms in ModSettings )
|
||||
{
|
||||
PluginLog.Information(
|
||||
PluginLog.Debug(
|
||||
"mod: {ModName} Enabled: {Enabled} Priority: {Priority}",
|
||||
ms.FolderName, ms.Enabled, ms.Priority
|
||||
);
|
||||
|
|
@ -61,7 +61,11 @@ namespace Penumbra.Mods
|
|||
|
||||
if( metaFile == null )
|
||||
{
|
||||
PluginLog.LogError( "mod meta is missing for resource mod: {ResourceModLocation}", modDir );
|
||||
#if DEBUG
|
||||
PluginLog.Error( "mod meta is missing for resource mod: {ResourceModLocation}", modDir );
|
||||
#else
|
||||
PluginLog.Debug( "mod meta is missing for resource mod: {ResourceModLocation}", modDir );
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue