weaviate / weaviate-python-client

A python native client for easy interaction with a Weaviate instance.
https://weaviate.io/developers/weaviate/current/client-libraries/python.html
BSD 3-Clause "New" or "Revised" License
162 stars 74 forks source link

Catch and re-raise any/all `Event loop is closed` exceptions #1306

Open tsmith023 opened 1 month ago

tsmith023 commented 1 month ago

Currently if a RuntimeError("Event loop is closed") is raised, the user observes a potentially cryptic error and stacktrace. We should instead catch and re-raise such an exception with a better description to improve the UX

gssakash commented 1 month ago

I would like to take on this issue if it's available.