connectors
connectors copied to clipboard
Always close data source
When connector config validation fails, it doesn't close the data source.
This PR makes sure the data source is always properly closed.
Checklists
Pre-Review Checklist
- [x] this PR does NOT contain credentials of any kind, such as API keys or username/passwords (double check
config.yml.example
) - [x] this PR has a meaningful title
- [x] this PR links to all relevant github issues that it fixes or partially addresses
- [x] this PR has a thorough description
- [x] Covered the changes with automated tests
- [x] Tested the changes locally
- [x] Added a label for each target release version (example:
v7.13.2
,v7.14.0
,v8.0.0
)