Skip to content

Extract source file/line when decorating functions #110

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

Merged
merged 1 commit into from
Oct 6, 2016

Conversation

kattrali
Copy link
Contributor

@kattrali kattrali commented Oct 5, 2016

When wrapping a function, if the function fails to invoke successfully,
the stacktrace would reflect that code inside of the Bugsnag library was
being called, which may obscure what needs to be fixed.

This changed passes along the source function being wrapped, extracting
the correct file and line number if available.

When wrapping a function, if the function fails to invoke successfully,
the stacktrace would reflect that code inside of the Bugsnag library was
being called, which may obscure what needs to be fixed.

This changed passes along the source function being wrapped, extracting
the correct file and line number.
@kattrali kattrali modified the milestone: 3.0.0 Oct 5, 2016
@kattrali kattrali merged commit 7d50c9b into master Oct 6, 2016
@kattrali kattrali deleted the kattrali/source-decorated-functions branch October 6, 2016 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant