mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-18 13:57:43 +01:00
chore: log InvalidOperationException when finding game window
This commit is contained in:
parent
313d666cfa
commit
f47706dba2
1 changed files with 2 additions and 1 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue