Skip to content

Conversation

@Napsty
Copy link
Owner

@Napsty Napsty commented Feb 14, 2025

Improve pywbem exception handling across old (< 1.0.0) and newer (>= 1.0.0) pywbem versions.

Also handle HTTPError exception. This is useful when the plugin is mistakenly pointed to a HTTP endpoint which does not serve any CIM elements (ESXi HTTPS UI for example).

Attention: The plugin requires the Python module "packaging" from now on!

This PR fixes #54 .

Thanks to @philrandal and @clairem-sl for hints!

@Napsty Napsty merged commit 8b6917f into master Feb 21, 2025
2 checks passed
@Napsty Napsty deleted the issue-54 branch February 21, 2025 10:08
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.

Error on importing pywbem.cim_http and pywbem.cim_operations

2 participants