Explorar el Código

Don't log stack trace in FindPluginTypes when loading native DLL
Rebase of 7f12024

Bepis hace 4 años
padre
commit
8a3236e439
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      BepInEx.Core/Bootstrap/TypeLoader.cs

+ 1 - 1
BepInEx.Core/Bootstrap/TypeLoader.cs

@@ -143,7 +143,7 @@ namespace BepInEx.Bootstrap
 				}
 				catch (BadImageFormatException e)
 				{
-					Logger.LogDebug($"Skipping loading {dll} because it's not a valid .NET assembly. Full error: {e}");
+					Logger.LogDebug($"Skipping loading {dll} because it's not a valid .NET assembly. Full error: {e.Message}");
 				}
 				catch (Exception e)
 				{