Skip to content

[ENG-12215] Some sentry messages / error logs should also inform PO via email - #11934

Open
Ostap-Zherebetskyi wants to merge 2 commits into
CenterForOpenScience:feature/post-enter-projectfrom
Ostap-Zherebetskyi:feature/error_logs_email
Open

Ostap-Zherebetskyi wants to merge 2 commits into
CenterForOpenScience:feature/post-enter-projectfrom
Ostap-Zherebetskyi:feature/error_logs_email

Conversation

@Ostap-Zherebetskyi

@Ostap-Zherebetskyi Ostap-Zherebetskyi commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

Ticket

Purpose

Some sentry messages / error logs should also inform PO via email

Changes

Side Effects

QE Notes

CE Notes

Documentation

@Ostap-Zherebetskyi
Ostap-Zherebetskyi marked this pull request as ready for review September 22, 2026 13:12
Comment on lines +312 to +317
if campaign.status == NotificationCampaignStatus.CANCELLED:
message = f'[Notification Campaign #{campaign_id}] WARNING: Campaign {campaign.name} was cancelled.'
logger.info(message)
sentry.log_message(message)
self.finish_campaign(campaign)
return

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After discussing it with Ostap, we need to decide what to do about campaign stats sync

@antkryt antkryt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but we need to decide what do we do with campaign stats (not related to this ticket)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants