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

fix: Only match v2 screen IDs in v2 controller #2183

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Conversation

cmaddox5
Copy link
Contributor

@cmaddox5 cmaddox5 commented Sep 3, 2024

This PR addresses this Sentry error. When screen ID is opened with the v2 URL, we don't check that the ID is a v2 screen. This causes v1 IDs to throw a cryptic error when we calculate refresh rates. We should instead return a 404. We could also redirect to the v1 controller but that seems a little heavy handed.

@cmaddox5 cmaddox5 requested a review from a team as a code owner September 3, 2024 13:24
@cmaddox5 cmaddox5 merged commit b3523ed into main Sep 3, 2024
13 checks passed
@cmaddox5 cmaddox5 deleted the cm/fix-thrown-error branch September 3, 2024 13:33
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