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

Improved api function #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mossicrue
Copy link
Contributor

Add a function called apicall that improve the behaviour of the API in case of errors and exceptions.
All the API errors are now reported in Standard Error output in a more verbose way.
Added the --repeat-api options that will retry an api call a certain number of time if it returns error.
Added the --repeat-api-sleep that add the possibility to increase the time waited before perform the same api call if the previous attempt failed.

Add the apicall function in order to easy handle errors and make a retry system in case of problem
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.

1 participant