singer-io / tap-typeform

Singer.io tap for extracting TypeForm data
GNU Affero General Public License v3.0
11 stars 20 forks source link

Add exception handling tests #33

Closed 0xpetersatoshi closed 3 years ago

0xpetersatoshi commented 3 years ago

Description of change

Implemented changes as requested in TDL-12608. Refactored API error handling. Removed duplicate backoff calls from individual function calls and kept backoff decorator only where API request is made. Added tests to test the API's exception handling.

Manual QA steps

Risks

Rollback steps

0xpetersatoshi commented 3 years ago

Was finally able to get all tests to pass. This is ready for review.