Selaa lähdekoodia

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

ghorsington 4 vuotta sitten
vanhempi
commit
7f12024dcd
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)
 				{