Skip to content

Commit a24678c

Browse files
committed
Update CrashHandler.cs
1 parent 191a8da commit a24678c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/UniGetUI/CrashHandler.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ public static void ReportFatalException(Exception e)
4141
Exception? fileEx = e;
4242
while (fileEx is not null)
4343
{
44-
if (fileEx.ToString().Contains("Could not load file or assembly")
45-
|| (uint)fileEx.HResult is 0x80070002 or 0x8007007E)
44+
if ((uint)fileEx.HResult is 0x80070002 or 0x8007007E)
4645
{
4746
if (_reportMissingFiles())
4847
{

0 commit comments

Comments
 (0)