Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNTOR-2908: better logging for unique constraints #4163

Merged
merged 2 commits into from
Feb 6, 2024
Merged

MNTOR-2908: better logging for unique constraints #4163

merged 2 commits into from
Feb 6, 2024

Conversation

mansaj
Copy link
Collaborator

@mansaj mansaj commented Feb 6, 2024

References:

Jira: MNTOR-2908

Description

Intended unique constraints in attributions table is throwing too many errors in prod. We'd want to log info instead.
Adding the try/catch to the util function at the table level

Screenshot (if applicable)

Not applicable.

How to test

Checklist (Definition of Done)

  • Commits in this PR are minimal and have descriptive commit messages.
  • All acceptance criteria are met.
  • Jira ticket has been updated (if needed) to match changes made during the development process.
  • Jira ticket has been updated (if needed) with suggestions for QA when this PR is deployed to stage.

@mansaj mansaj requested a review from rhelmer February 6, 2024 18:20
@mansaj mansaj changed the title MNTOR-2899: better logging for unique constraints MNTOR-2908: better logging for unique constraints Feb 6, 2024
@mansaj mansaj merged commit 4e22bbb into main Feb 6, 2024
12 checks passed
@mansaj mansaj deleted the MNTOR-2899 branch February 6, 2024 19:21
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