Less verbose logging on Windows HID devices.

This commit is contained in:
Dain Nilsson 2020-10-30 10:10:48 +01:00
parent a71fd703e0
commit 0912c31478
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ def list_descriptors():
except ValueError: except ValueError:
continue continue
except Exception as e: except Exception as e:
logger.debug("Failed opening HID device", exc_info=e) logger.debug("Failed reading HID descriptor: %s", e)
continue continue
finally: finally:
setupapi.SetupDiDestroyDeviceInfoList(collection) setupapi.SetupDiDestroyDeviceInfoList(collection)