소스 검색

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

Bepis 4 년 전
부모
커밋
8a3236e439
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)
 				{