carry the daily set warning from #37 into logging

This commit is contained in:
Ethan Stoner
2026-08-27 00:27:29 -07:00
parent 8059e4a6eb
commit 817d5bb63d
+4 -1
View File
@@ -81,7 +81,10 @@ class RewardsTaskUtils:
except TimeoutException: except TimeoutException:
daily_set_links = self.elements.get_daily_set_elements() daily_set_links = self.elements.get_daily_set_elements()
print(f"[WARNING] Daily set panel only shows {len(daily_set_links)} of {expected_activities} activities") logger.warning(
"Daily set panel only shows %s of %s activities",
len(daily_set_links), expected_activities
)
# Re-read the panel per index: clicking an activity can re-render it and # Re-read the panel per index: clicking an activity can re-render it and
# stale the captured references. # stale the captured references.