Skip to content

More readable WMI error parsing #10

@Laberbear

Description

@Laberbear

A lot of laptops and other machines don't support the MSAcpi_ThermalZoneTemperature WMI class and will cause this library to crash.

While this is probably the best way to handle this, atleast this common WMI error should be turned into something more usable by the library I think, since it could be a throwback for anyone just wanting the data.

Part of the current error message:

wmi.x_wmi: <x_wmi: Unexpected COM Error (-2147217396, 'OLE error 0x8004100c', None, None)>

List of WMI errors: https://msdn.microsoft.com/en-us/library/aa394559%28VS.85%29.aspx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions