mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
ILPP hook: don't log weaving failed errors for consistency with old method, and so that tests still work
This commit is contained in:
parent
523a6c944d
commit
0c7736cc2f
@ -119,7 +119,10 @@ public override ILPostProcessResult Process(ICompiledAssembly compiledAssembly)
|
|||||||
return new ILPostProcessResult(inMemory, Log.Logs);
|
return new ILPostProcessResult(inMemory, Log.Logs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else Log.Error($"Weaving failed for: {compiledAssembly.Name}");
|
// if anything during Weave() fails, we log an error.
|
||||||
|
// don't need to indicate 'weaving failed' again.
|
||||||
|
// in fact, this would break tests only expecting certain errors.
|
||||||
|
//else Log.Error($"Weaving failed for: {compiledAssembly.Name}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user