diff --git a/BepInEx/Bootstrap/TypeLoader.cs b/BepInEx/Bootstrap/TypeLoader.cs index 265001c..fc74ba4 100644 --- a/BepInEx/Bootstrap/TypeLoader.cs +++ b/BepInEx/Bootstrap/TypeLoader.cs @@ -61,6 +61,14 @@ namespace BepInEx.Bootstrap sb.AppendLine(exFileNotFound.FusionLog); } } + else if (exSub is FileLoadException exLoad) + { + if (!string.IsNullOrEmpty(exLoad.FusionLog)) + { + sb.AppendLine("Fusion Log:"); + sb.AppendLine(exLoad.FusionLog); + } + } sb.AppendLine(); } return sb.ToString();