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

Prevent CatalogMetadata::parse from panic on missing data #12

Merged
merged 2 commits into from
Dec 12, 2023

Conversation

aliaksandr-trush
Copy link
Contributor

Some .po files could miss some Metadata. In this case the library will panic without any debug information about the root cause.

Prevent panic on fail parse operation if file miss some metadata
@aliaksandr-trush
Copy link
Contributor Author

Fixing issue #5

@BrettDong
Copy link
Owner

Does it make sense to omit empty fields in the dump function?

@BrettDong BrettDong merged commit 26e0a4e into BrettDong:main Dec 12, 2023
1 check passed
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