Description
When you incorrectly configure the Client, then the error message returned is rather vague and obscure. It would be of great help if the error message provided actually informs the user what is wrong. E.g. incorrect credentials or cannot connect to the provided instance.
Reproduction path
- Run the code below.
from lightdash import Client
client = Client(
instance_url="https://app.lightdash.com",
access_token="xxxx",
project_uuid="xxxx"
)
- You will get an error message similar to:
httpx.ConnectError: [Errno 8] nodename nor servname provided, or not known