chore: log InvalidOperationException when finding game window

This commit is contained in:
goaaats 2022-05-24 01:02:44 +02:00
parent 313d666cfa
commit f47706dba2
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B

View file

@ -139,8 +139,9 @@ namespace Dalamud.Injector
} }
while (TryFindGameWindow(process) == IntPtr.Zero); while (TryFindGameWindow(process) == IntPtr.Zero);
} }
catch (InvalidOperationException) catch (InvalidOperationException ex)
{ {
Log.Error(ex, "Failed to find game window");
throw new GameExitedException(); throw new GameExitedException();
} }