Skip to content

Commit

Permalink
perf(log):add current event count log for helping user find uiobject …
Browse files Browse the repository at this point in the history
…missing bug through logger
  • Loading branch information
XiangchenShen committed Jan 7, 2025
1 parent 9027055 commit 550d2ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kea/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,7 @@ def save_screenshot_for_report(self, event_name=None, event=None, current_state=
"""

self.cur_event_count += 1
self.logger.debug("current event count: %s" % self.cur_event_count)
if current_state is None:
self.current_state = self.get_current_state()
else:
Expand Down

0 comments on commit 550d2ba

Please sign in to comment.