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

Improve client generation failure messages at the client level #1253

Open
AntonOfTheWoods opened this issue May 10, 2024 · 1 comment
Open

Comments

@AntonOfTheWoods
Copy link
Contributor

In certain circumstances where the reason is clearly known (e.g., trying to generate the client when there are tables that have FKs to unelectrified tables) the current message at the client level is:

...
Error: Error in connector: Error querying the database: Error querying the database: The server terminated the connection.
...

It would be a much nicer DX to have the message, which is clearly visible in the electric server logs, returned to the client so the developer can see without going looking for logs elsewhere.

Copy link

linear bot commented May 10, 2024

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