Skip to content

Commit c4c0431

Browse files
committed
2.4.1.7 - Additional debug messages for RunScreenCaptures and RunRegionCaptures.
1 parent 2cf8ab3 commit c4c0431

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

interface/main/FormMain-Regions.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ private void RunRegionCaptures()
182182
continue;
183183
}
184184
}
185+
else
186+
{
187+
_log.WriteDebugMessage($"No image was captured for region {region.Name}");
188+
}
185189
}
186190
}
187191
}

interface/main/FormMain-Screens.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ private void RunScreenCaptures()
159159
continue;
160160
}
161161
}
162+
else
163+
{
164+
_log.WriteDebugMessage($"No image was captured for active window {screen.Name}");
165+
}
162166
}
163167
else // Screen (regardless of how many displays there are)
164168
{
@@ -179,6 +183,10 @@ private void RunScreenCaptures()
179183
continue;
180184
}
181185
}
186+
else
187+
{
188+
_log.WriteDebugMessage($"No image was captured for screen {screen.Name}");
189+
}
182190
}
183191
}
184192
}

0 commit comments

Comments
 (0)