Przeglądaj źródła

Don't log stack trace in FindPluginTypes when loading native DLL

ghorsington 4 lat temu
rodzic
commit
7f12024dcd
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      BepInEx/Bootstrap/TypeLoader.cs

+ 1 - 1
BepInEx/Bootstrap/TypeLoader.cs

@@ -128,7 +128,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)
 				{