Skip to content

MQE-1118: Handle XML merge failures gracefully #202

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

Merged
merged 5 commits into from
Aug 16, 2018
Merged

Conversation

aljcalandra
Copy link
Contributor

This will allow errors from loadXMl and failures to loadXml to be propagated to output in logs.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/verification tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)
  • Changes to Framework doesn't have backward incompatible changes for tests or have related Pull Request with fixes to tests

- Added filename to error messages for loadXML usage in initDom
- Added Test and made error a tiny bit more specific (error is caught by child classes given context)
- Added exception message check in unit test
- Added check for false returns from loadXML
@coveralls
Copy link

coveralls commented Aug 16, 2018

Coverage Status

Coverage remained the same at 56.165% when pulling 56dd916 on MQE-1118 into 229b66e on develop.

@aljcalandra aljcalandra merged commit 7610008 into develop Aug 16, 2018
@aljcalandra aljcalandra deleted the MQE-1118 branch August 16, 2018 21:44
magento-devops-reposync-svc pushed a commit that referenced this pull request Aug 2, 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