Przeglądaj źródła

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

Bepis 4 lat temu
rodzic
commit
8a3236e439
1 zmienionych plików z 1 dodań i 1 usunięć
  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)
 				{