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

94 scrub bad result handling #98

Merged
merged 7 commits into from
Jun 27, 2024
Merged

Conversation

nmmull
Copy link
Collaborator

@nmmull nmmull commented Jun 14, 2024

I removed the uses of Result.get_ok, but replaced one case with a new possible exception HeaderRepresentationError. It is my opinion that, if this is triggered it should be critical, and it should be reported to the user that they should contact us if they ever get this error.

As a reminder, part of the motivation of this issue was to deal with a bug that triggering an uncaught exception. This came from the fact that mrmime was putting line breaks into long file names in order to maintain the recommended margin of 80 characters. Upping the allowed line length fixed this problem.

@bufordrat bufordrat merged commit 731169f into main Jun 27, 2024
Copy link
Contributor

@bufordrat bufordrat left a comment

Choose a reason for hiding this comment

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

Looks perfect, merging it into main now...

@nmmull nmmull mentioned this pull request Jun 28, 2024
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.

None yet

2 participants