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

don't error an unsupported plan for staff membership #1091

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

johnduffell
Copy link
Member

Back in this PR: #1072
i removed staff membership recognition from the whole of MDAPI.

However all the staff subscriptions in zuora still exist (for now - they need cancelling really)

However, there is a bit of logic that logs if a rate plan's product isn't in the catalog mappings that are in the code.

Since I deleted the mapping for staff, every time a staff member hits /me endpoint, we get an error logged:
2024-07-30 08:47:09,031 SupporterRatePlanToAttributesMapper.scala:37 [ERROR]: redacted: Unsupported product rate plan id: 2c92a0f949efde7c0149f1f18162178e

This PR specifically doesn't log this exact sitatuion, purely to clean up the logs.

@johnduffell johnduffell requested a review from rupertbates July 30, 2024 09:04
@johnduffell johnduffell merged commit 2baaafc into main Jul 30, 2024
2 checks passed
@johnduffell johnduffell deleted the jd-staff-no-error branch July 30, 2024 10:33
@prout-bot
Copy link

Seen on PROD (merged by @johnduffell 5 minutes and 20 seconds ago) Please check your changes!

Sentry Release: members-data-api

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

Successfully merging this pull request may close these issues.

3 participants