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

CP-52852: add handler for xmlrpc ProtocolError #722

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

MarkSymsCtx
Copy link
Contributor

It is possible that a XenAPI call to xapi will result in an xmlrpc ProtocolError being returned, typically a 500 Internal Error. As it is not practical to wrap all the calls to xapi via the xenapi session in a specific exception handler add one into the outer run method to ensure that it is converted to an error code and not an unknown error.

KevinLCtx
KevinLCtx previously approved these changes Dec 9, 2024
It is possible that a XenAPI call to xapi will result in an xmlrpc
ProtocolError being returned, typically a 500 Internal Error. As it is
not practical to wrap all the calls to xapi via the xenapi session in
a specific exception handler add one into the outer run method to
ensure that it is converted to an error code and not an unknown error.

Signed-off-by: Mark Syms <[email protected]>
@MarkSymsCtx MarkSymsCtx merged commit d160bfb into xapi-project:master Dec 10, 2024
2 checks passed
@MarkSymsCtx MarkSymsCtx deleted the CP-52852 branch December 10, 2024 13:10
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.

4 participants