TypeError: catching classes that do not inherit from BaseException is not allowed
MarcelGehring opened this issue · 0 comments
MarcelGehring commented
There's what I think is a bug in client.py line 220.
Traceback (most recent call last):
...
File "/usr/local/lib/python3.9/site-packages/hpe3parclient/client.py", line 220, in init
except exceptions as ex:
TypeError: catching classes that do not inherit from BaseException is not allowed
The code is
except exceptions as ex:
and from my perspective it should be
except Exception as ex: