connectors icon indicating copy to clipboard operation
connectors copied to clipboard

Always close data source

Open wangch079 opened this issue 9 months ago • 0 comments

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)

wangch079 avatar Apr 25 '24 07:04 wangch079