Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: catching classes that do not inherit from BaseException is not allowed #91

Open
MarcelGehring opened this issue Oct 28, 2022 · 0 comments

Comments

@MarcelGehring
Copy link

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:

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

No branches or pull requests

1 participant