mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
TypeLoader: don't write error when a native DLL is found
Rebase of 4d7e5ca
This commit is contained in:
1 file changed
+4
@@ -141,6 +141,10 @@ namespace BepInEx.Bootstrap
|
||||
result[dll] = matches;
|
||||
ass.Dispose();
|
||||
}
|
||||
catch (BadImageFormatException e)
|
||||
{
|
||||
Logger.LogDebug($"Skipping loading {dll} because it's not a valid .NET assembly. Full error: {e}");
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logger.LogError(e.ToString());
|
||||
|
||||
Reference in new issue
Block a user