diff --git a/BepInEx/Bootstrap/TypeLoader.cs b/BepInEx/Bootstrap/TypeLoader.cs index 6d41e72..5cc5bc0 100644 --- a/BepInEx/Bootstrap/TypeLoader.cs +++ b/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) {