🐛 Convex source connector error messages#23797
🐛 Convex source connector error messages#23797Mal Hancock (archangelic) merged 9 commits intoairbytehq:masterfrom
Conversation
|
/test connector=connectors/source-convex
Build PassedTest summary info: |
|
/publish connector=connectors/source-convex
if you have connectors that successfully published but failed definition generation, follow step 4 here |
|
Mal Hancock (@archangelic) I see that tests are failing and now there is a merge conflict. Should I make changes or are you handling it from here? |
|
/test connector=connectors/source-convex
Build PassedTest summary info: |
* format errors and add test * update changelog * lint * fix for integration tests * bump versions * auto-bump connector version * bump version --------- Co-authored-by: Mal Hancock <[email protected]> Co-authored-by: Octavia Squidington III <[email protected]>
What
This PR adds well-formatted error messages to the Convex source connector. A Convex user encountered unhelpful error messages when their sync failed. This diff adds error messages that should help with debugging.
How
Convex returns HTTP errors as json with the format
{'code': ErrorCode, 'message': ErrorMessage}. This diff raises exceptions and formats errors if requests to Convex fail so logs on failed syncs are helpful to folks using Airbyte to connect to Convex.Recommended reading order
source.pytest_source.py🚨 User Impact 🚨
Users should get more helpful error messages that are related to Convex.
Pre-merge Checklist
Expand the relevant checklist and delete the others.
Updating a connector
Community member or Airbyter
airbyte_secret./gradlew :airbyte-integrations:connectors:<name>:integrationTest.README.mdbootstrap.md. See description and examplesdocs/integrations/<source or destination>/<name>.mdincluding changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>command is passing/publishcommand described herePassing tests:
