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

Display error message when cannot parse Header and Content #180

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bact
Copy link
Contributor

@bact bact commented Jan 14, 2025

To let the user knows more about why there's an error when re.fullmatch(self.RE_EXTRACT_HEADER_CONTENT) does not match.

For example, in a case similar to spdx/spdx-3-model#947 (comment)

bact added 2 commits January 14, 2025 17:02
To let the user knows more about why there's an error.

For example, in a case similar to spdx/spdx-3-model#947 (comment)

Signed-off-by: Arthit Suriyawongkul <[email protected]>
Signed-off-by: Arthit Suriyawongkul <[email protected]>
@zvr
Copy link
Member

zvr commented Jan 14, 2025

Thanks, @bact , but don't spend time implementing this.
Together with the new command line handling, there is now a custom logger.

I'm keeping this open to note the message and the condition, to port to the new logging method.

@bact
Copy link
Contributor Author

bact commented Jan 14, 2025

Thanks

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.

2 participants