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

Exit during startup if functions fail to compile #50

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

daniel-chambers
Copy link
Collaborator

This PR changes the connector behaviour so that if there are compile errors in the functions code the connector now fails to start. Previously it would have started but just returned an empty schema.

This behaviour resulted in customers not realising they had compile errors and just silently seeing their functions being missing. This is because the ddn CLI just ignores anything printed to the terminal if the connector "successfully" starts. Only if it fails to start does it prompt the user to show the logs which would show the compile errors.

@daniel-chambers daniel-chambers self-assigned this Nov 21, 2024
Copy link
Contributor

@danieljharvey danieljharvey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let it crash!

@daniel-chambers daniel-chambers merged commit 2711113 into main Nov 22, 2024
4 checks passed
@daniel-chambers daniel-chambers deleted the daniel/quit-on-compiler-errors branch November 22, 2024 04:58
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

Successfully merging this pull request may close these issues.

2 participants