Skip to content

Commit

Permalink
ref(daily summary): Add logger when sending summary (#66369)
Browse files Browse the repository at this point in the history
Add a log line when we send the notification as I'm doing internal
testing.
  • Loading branch information
ceorourke authored and aliu39 committed Mar 6, 2024
1 parent 442f7e4 commit 8631dad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sentry/tasks/summaries/daily_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ def deliver_summary(ctx: OrganizationReportContext, users: list[int]):
for user_id in user_ids:
top_projects_context_map = build_top_projects_map(ctx, user_id)
user = cast(RpcActor, user_service.get_user(user_id=user_id))
logger.info(
"daily_summary.delivering_summary",
extra={"user": user_id, "organization": ctx.organization.id},
)
DailySummaryNotification(
organization=ctx.organization,
recipient=user,
Expand Down

0 comments on commit 8631dad

Please sign in to comment.