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 more detailed explanation on beforeBreadcrumb function #1050

Merged
merged 1 commit into from
Jun 7, 2019
Merged

Add more detailed explanation on beforeBreadcrumb function #1050

merged 1 commit into from
Jun 7, 2019

Conversation

wsloth
Copy link
Contributor

@wsloth wsloth commented Jun 7, 2019

I was stuck on why my Sentry breadcrumbs were just described as generic with a timestamp attached to it. I could not clearly find out where the issue was, I thought it would be because I was adding the breadcrumb incorrectly.

Instead, I found that in the beforeBreadcrumb function you had to return the actual (modified) breadcrumb instead of true or false, which I could not clearly find in the docs.

Hence this PR! If you have a different idea on how it should be worded, let me know!

@wsloth
Copy link
Contributor Author

wsloth commented Jun 7, 2019

Can we merge it? 😄

@untitaker
Copy link
Member

ofc, was just waiting for travis over lunch break :)

@untitaker untitaker merged commit b827cc2 into getsentry:master Jun 7, 2019
@untitaker
Copy link
Member

Thanks!

@wsloth
Copy link
Contributor Author

wsloth commented Jun 7, 2019

Thank you for the quick merge!

@github-actions github-actions bot locked and limited conversation to collaborators Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants