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: remove unwraps in the function when parsing a trace #310

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Nazarevsky
Copy link

Why

When parsing a trace, there could be a chance when ValueBacking of column registers is None. This situation is handled in determine_column_padding function (here). However, get() method that is used to get internal Value uses unwraps which may cause a panic.

What

Since None case is already handled in determine_column_padding function, we can freely get rid from unwraps.

@Nazarevsky Nazarevsky changed the title Remove unwraps fix: remove unwraps in the function when parsing a trace Jan 8, 2025
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