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

Enhance the exception catch when license corrupted #52

Open
LeiYangGH opened this issue Jun 27, 2019 · 0 comments
Open

Enhance the exception catch when license corrupted #52

LeiYangGH opened this issue Jun 27, 2019 · 0 comments

Comments

@LeiYangGH
Copy link

LeiYangGH commented Jun 27, 2019

Currently the library generates license file in xml format.
If the user attempts to edit the license xml(chances are high when trial time ended), but finally corrupted the file to be invalid xml, then License.Load will get uncaught System.Xml.XmlException.
It will be much better if catch the exception and return some type of IValidationFailure.

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

No branches or pull requests

1 participant