Skip to content

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

Merged
Maxime Carbonneau-Leclerc (maxi297) merged 4 commits into
masterfrom
issue-6888/salesforce-have-clear-error-when-stream-preparation-fails
Apr 15, 2024
Merged

Maxime Carbonneau-Leclerc (maxi297) merged 4 commits into
masterfrom
issue-6888/salesforce-have-clear-error-when-stream-preparation-fails

Conversation

@maxi297

Copy link
Copy Markdown
Contributor

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.

@vercel

vercel Bot commented Apr 12, 2024 •

Copy link
Copy Markdown

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 Maxime Carbonneau-Leclerc (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
Maxime Carbonneau-Leclerc (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