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 passing expected hash payload argument #7487

Merged

Conversation

ispyropoulos
Copy link
Contributor

Passing non hash objects as payload arguments to an event instrumenter breaks subscribers implemented by other libraries like Sentry.

https://api.rubyonrails.org/v6.1.5.1/classes/ActiveSupport/Notifications.html
https://api.rubyonrails.org/classes/ActiveSupport/Notifications.html

Fixes #7342

Passing non hash objects as payload arguments to an event instrumenter breaks
subscribers implemented by other libraries like Sentry.

https://api.rubyonrails.org/v6.1.5.1/classes/ActiveSupport/Notifications.html
https://api.rubyonrails.org/classes/ActiveSupport/Notifications.html
Copy link
Member

@deivid-rodriguez deivid-rodriguez left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Member

@javierjulio javierjulio left a comment

Choose a reason for hiding this comment

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

Thanks!

@javierjulio javierjulio merged commit 5956572 into activeadmin:master May 13, 2022
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.

Possible inconsistency with ActiveSupport::Notifications' interface breaks when using Sentry
3 participants