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 sw-rabbitmq TypeError when there are no headers #182

Merged

Conversation

dcryans
Copy link
Contributor

@dcryans dcryans commented Feb 7, 2022

Add a try/except on TypeError
to catch None headers
when messages in the queue were produced pre-skywalking & without header

Fix #8499

to catch None headers
when messages in the queue were produced pre-skywalking & without header
@wu-sheng wu-sheng added this to the 1.0.0 milestone Feb 7, 2022
@wu-sheng wu-sheng added the bug Something isn't working label Feb 7, 2022
@wu-sheng
Copy link
Member

wu-sheng commented Feb 8, 2022

Please fix the lint.

@wu-sheng wu-sheng changed the title Bugfix issue #8499 Fix sw-rabbitmq TypeError when there are no headers Feb 8, 2022
@dcryans
Copy link
Contributor Author

dcryans commented Feb 8, 2022

Thank you kezhenxu94, sorry didn't use the right linter

@kezhenxu94 kezhenxu94 merged commit c268dc9 into apache:master Feb 8, 2022
@kezhenxu94
Copy link
Member

@dcryans thanks for reporting this bug and fixing it

@dcryans dcryans deleted the bugfix/issue-8499-headers-not-iterable branch February 8, 2022 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Python] [Bug] sw-rabbitmq TypeError when there are no headers (pre-sw messages)
3 participants