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

Add singer exception #129

Merged
merged 6 commits into from
Feb 5, 2021
Merged

Add singer exception #129

merged 6 commits into from
Feb 5, 2021

Conversation

luandy64
Copy link
Contributor

@luandy64 luandy64 commented Feb 3, 2021

Description of change

This PR makes the tap rethrow FacebookErrors as Singer*Errors.

All of the classes in facebook_business.exceptions.py inherit from one class, FacebookError. And only one of those subclasses has extra fields on it that we can extract a meaningful error message from.

Manual QA steps

  • Added unit tests

Risks

  • Low, this only affects logging

Rollback steps

  • revert this branch

@luandy64 luandy64 merged commit 49e5057 into master Feb 5, 2021
@luandy64 luandy64 deleted the add-singer-exception branch February 5, 2021 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants