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

Guard against resque tracing if pin is nil #223

Merged
merged 1 commit into from
Oct 12, 2017

Conversation

drewbailey
Copy link
Contributor

@drewbailey drewbailey commented Oct 11, 2017

If DataDog::Monkey.patch_all isn't called (running in a dev environment) resque jobs are still attempted to be traced leading to the following error:

NoMethodError/undefined method 'tracer' for nil:NilClass

Copy link
Contributor

@palazzem palazzem left a comment

Choose a reason for hiding this comment

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

Thank you for adding this safe-guard! I'm going to merge it now!

@palazzem palazzem added this to the 0.9.1 milestone Oct 12, 2017
@palazzem palazzem added the integrations Involves tracing integrations label Oct 12, 2017
@palazzem palazzem merged commit 600fde3 into DataDog:master Oct 12, 2017
@drewbailey
Copy link
Contributor Author

Thanks for the quick response @palazzem!

@palazzem
Copy link
Contributor

You're welcome! I'm planning to ship a new bugfix release by next Monday.

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

Successfully merging this pull request may close these issues.

2 participants