Skip to content

Remove fallback logging for unknown frontend event#10086

Merged
aduth merged 1 commit intomainfrom
aduth-rm-event-logger-tmp-warning
Feb 15, 2024
Merged

Remove fallback logging for unknown frontend event#10086
aduth merged 1 commit intomainfrom
aduth-rm-event-logger-tmp-warning

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Feb 14, 2024

🛠 Summary of changes

Removes fallback logging for frontend events which aren't recognized.

This was added as a temporary measure in #9438 to ensure that we hadn't missed any frontend events.

There are no logs associated with this event, indicating that all of our event names are captured.

📜 Testing Plan

rspec spec/controllers/frontend_log_controller_spec.rb spec/services/frontend_logger_spec.rb

Bonus: Initiate a request to POST /api/logger with an unrecognized event name and verify you get a 400 response.

changelog: Internal, Analytics, Remove fallback logging for unknown frontend event
@aduth aduth requested a review from mitchellhenke February 14, 2024 22:22
Copy link
Contributor

@mitchellhenke mitchellhenke left a comment

Choose a reason for hiding this comment

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

Thanks for the cleanup!

@aduth aduth merged commit 8ded9b0 into main Feb 15, 2024
@aduth aduth deleted the aduth-rm-event-logger-tmp-warning branch February 15, 2024 17:52
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.

3 participants