mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Add FileLoadException handling to TypeLoadExceptionToString
This commit is contained in:
1 parent
5179507da0
commit
9f153338da
1 file changed
+8
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user