mirror of
https://github.com/greenshot/greenshot
synced 2025-08-13 18:27:03 -07:00
Enhanced log statement [skip ci]
This commit is contained in:
parent
bd71f47e95
commit
c02bd6ce62
1 changed files with 1 additions and 1 deletions
|
@ -856,7 +856,7 @@ namespace GreenshotPlugin.Core {
|
||||||
if (GetClientRect(out clientRect))
|
if (GetClientRect(out clientRect))
|
||||||
{
|
{
|
||||||
Win32Error error = Win32.GetLastErrorCode();
|
Win32Error error = Win32.GetLastErrorCode();
|
||||||
LOG.WarnFormat("Couldn't retrieve the client rectangle: {0}", Win32.GetMessage(error));
|
LOG.WarnFormat("Couldn't retrieve the client rectangle for {0}, error: {1}", Text, Win32.GetMessage(error));
|
||||||
}
|
}
|
||||||
return clientRect;
|
return clientRect;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue