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

1674 - Changes as per review comments #1813

Merged
merged 3 commits into from Dec 6, 2022
Merged

1674 - Changes as per review comments #1813

merged 3 commits into from Dec 6, 2022

Conversation

reshmabidikar
Copy link
Contributor

@reshmabidikar reshmabidikar commented Dec 6, 2022

Changes as per comments on #1809

Copy link
Member

@pierre pierre left a comment

Choose a reason for hiding this comment

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

See also #1809 (comment) (to discuss)

@@ -227,7 +227,7 @@ private ValidationErrors validateCatalogInternal(final String catalogXML, final
} catch (final ValidationException e) {
errors.addAll(e.getErrors());
} catch (final JAXBException e) {
errors.add(new ValidationError(e.getLinkedException().getMessage(), DefaultVersionedCatalog.class, ""));
errors.add(new ValidationError(e.getLinkedException() != null ? e.getLinkedException().getMessage() : "Invalid Catalog XML", DefaultVersionedCatalog.class, ""));
Copy link
Member

Choose a reason for hiding this comment

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

Maybe e.getMessage() if e.getLinkedException() is null?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@sbrossie sbrossie merged commit e37d4e4 into killbill:work-for-release-0.23.x Dec 6, 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.

None yet

3 participants