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

🐛 Source Salesforce: have clear error when stream preparation fails #37105

Conversation

maxi297
Copy link
Contributor

@maxi297 maxi297 commented Apr 12, 2024

What

Addresses https://github.com/airbytehq/airbyte-internal-issues/issues/6888 where a stream instantiation problem would cause cursor issue.

How

The version 2.4.1 already added retries on this call so we don't expect to see the problem anymore. However, if it occurs, we want the error to be clear. Hence, a traced exception has been added.

Proposed reading order

  • Commit da619cf that does add some clean up/remove code duplication
  • Error was added: airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py
  • Tests to validate the new behavior: airbyte-integrations/connectors/source-salesforce/unit_tests/integration/test_source.py

🚨 User Impact 🚨

None as we don't expect the error to come up anymore but if it does, we will have a better error message than before.

Copy link

vercel bot commented Apr 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Apr 13, 2024 0:17am

@maxi297 maxi297 changed the title Issue 6888/salesforce have clear error when stream preparation fails 🐛 Source Salesforce: have clear error when stream preparation fails Apr 12, 2024
@maxi297 maxi297 merged commit 36749fb into master Apr 15, 2024
31 checks passed
@maxi297 maxi297 deleted the issue-6888/salesforce-have-clear-error-when-stream-preparation-fails branch April 15, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/salesforce
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants