Description of the bug
Calling CLI tap-facebook returns exit code 0 even when it fails.
Expected behavior
Failed call should return exit code 1.
This is important for instance when calling the tool from airflow: airflow thinks the task succeeded when it did not.
Investigation
This is caused by litl/backoff#72
Proposal
Set on_giveup to a function raising an exception.
Description of the bug
Calling CLI
tap-facebookreturns exit code 0 even when it fails.Expected behavior
Failed call should return exit code 1.
This is important for instance when calling the tool from airflow: airflow thinks the task succeeded when it did not.
Investigation
This is caused by litl/backoff#72
Proposal
Set
on_giveupto a function raising an exception.