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

Add message id or content for exception thown in SF Messenger handlers #703

Open
RicoLannez opened this issue Mar 17, 2023 · 1 comment
Open

Comments

@RicoLannez
Copy link

Hello,

I'm actually working at AssoConnect/Springly on a project on Symfony with Symfony messenger. Your SF messenger integration works fine but we were wondering if it should be possible to add some data such as the message id or content which would be a great addition for us in our debugging process.

Is there some active development planned for that? If not maybe we can submit a pull request if you give us some hints on the best way to do the job. 🙂

Best regards

@cleptric
Copy link
Member

https://github.com/getsentry/sentry-symfony/blob/master/src/EventListener/MessengerListener.php#L47
If you think we could add more information here, I'm happy to review a PR.

Besides that, you can always enhance your error events by calling setTag, setData, inside your message classes.

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

Successfully merging a pull request may close this issue.

3 participants