Skip to content

Commit c0d4c9a

Browse files
committed
improvements to crash report
1 parent b01c955 commit c0d4c9a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/UniGetUI/CrashHandler.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ public static void ReportFatalException(Exception e)
4040
Exception? fileEx = e;
4141
while (fileEx is not null)
4242
{
43-
if (fileEx.ToString().Contains("Could not load file or assembly"))
43+
if (fileEx.ToString().Contains("Could not load file or assembly")
44+
|| (uint)fileEx.HResult is 0x80070002)
4445
{
4546
if (_reportMissingFiles())
4647
{

0 commit comments

Comments
 (0)