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

This commit is contained in:
ghorsington committed 2020-10-09 22:07:38 +03:00
1 parent 0e6358ac55
commit 7f12024dcd
1 file changed
+1 -1
+1 -1
View File
@@ -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)
{