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

Empty string field causes EXI encoding error #106

Merged
merged 1 commit into from
Aug 17, 2022

Conversation

shalinnijel2
Copy link
Contributor

Summary of change.
FaultMessage field in CertificateInstallationRes can't be empty as this would cause EXI encoding to fail.
In CertificateInstallationRes, the FaultMessage field was getting its value from str(e) where is e is Exception. If this was empty, that would cause EXI encoding to fail. Minor refactor to make sure the field is never empty.

@shalinnijel2 shalinnijel2 merged commit 040388f into master Aug 17, 2022
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