这是indexloc提供的服务,不要输入任何密码
Skip to content

fix!: connector now refuses to start with invalid configuration #115

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

Conversation

hallettj
Copy link
Collaborator

Previously if there was an error parsing configuration.json the connector would silently use default settings. While making this change I also made parsing more strict so that parsing fails on unknown keys.

I added a warning-level trace when the CLI or connector cannot find a configuration file, and uses default settings.

@hallettj hallettj merged commit e7cba70 into main Oct 14, 2024
1 check passed
@hallettj hallettj deleted the jessehallett/eng-1181-mongodb-on-configuration-parse-error-connector-uses-default branch October 14, 2024 23:39
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