Skip to content

fix(profiling): Handle potential attribute errors in profiler #2028

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

Conversation

Zylphrex
Copy link
Member

@Zylphrex Zylphrex commented Apr 21, 2023

We've noticed some edge cases where the api doesn't return the expected FrameType or is missing some attributes. There isn't much we can do about this other than to handle the error and drop the sample.

Closes #2022

We've noticed some edge cases where the api doesn't return the expected
`FrameType` or is missing some attributes. There isn't much we can do about this
other than to handle the error and drop the sample.
@Zylphrex Zylphrex requested review from a team, antonpirker and sl0thentr0py April 21, 2023 21:21
@Zylphrex Zylphrex merged commit 40bef90 into master Apr 25, 2023
@Zylphrex Zylphrex deleted the txiao/fix/handle-potential-attribute-errors-in-profiler branch April 25, 2023 17:43
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.

AttributeError: 'function' object has no attribute 'co_filename'
2 participants