Describe the bug
At least on a Python 3.10 runtime using az iot hub monitor-events, sys.excepthook errors are shown on keyboard interrupt. This was observed on a homebrew based install.
To Reproduce
Steps to reproduce the behavior:
Install the azure-iot extension (0.12.0, 0.12.1) on a Py 3.10.x based Azure CLI install. Run monitor-events and input keyboard interrupt. Observe errors.
Expected behavior
Gracefully closing and deallocating resources.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Describe the bug At least on a Python 3.10 runtime using
az iot hub monitor-events
, sys.excepthook errors are shown on keyboard interrupt. This was observed on a homebrew based install.To Reproduce Steps to reproduce the behavior:
0.12.0
,0.12.1
) on a Py 3.10.x based Azure CLI install. Run monitor-events and input keyboard interrupt. Observe errors.Expected behavior
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
MacOS
bash
2.31.0
0.12.0
,0.12.1
Python 3.10.x