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

RetryError in ping heartbeat #47

Open
rcampos87 opened this issue Feb 4, 2021 · 0 comments
Open

RetryError in ping heartbeat #47

rcampos87 opened this issue Feb 4, 2021 · 0 comments

Comments

@rcampos87
Copy link

rcampos87 commented Feb 4, 2021

Im running into a new error on opsgenie-sdk after the update to v2.1.2.

File "/usr/local/lib/python3.7/dist-packages/opsgenie_sdk/api/heartbeat/__init__.py", line 628, in ping
File "/usr/local/lib/python3.7/dist-packages/opsgenie_sdk/api/heartbeat/__init__.py", line 703, in ping_with_http_info
File "/usr/local/lib/python3.7/dist-packages/opsgenie_sdk/api_client.py", line 428, in call_api
File "/usr/local/lib/python3.7/dist-packages/opsgenie_sdk/api_client.py", line 218, in __call_api
File "/usr/local/lib/python3.7/dist-packages/opsgenie_sdk/api_client.py", line 202, in __call_api
File "/usr/local/lib/python3.7/dist-packages/tenacity/__init__.py", line 411, in call
File "/usr/local/lib/python3.7/dist-packages/tenacity/__init__.py", line 423, in __call__
File "/usr/local/lib/python3.7/dist-packages/tenacity/__init__.py", line 373, in iter
File "<string>", line 3, in raise_from

tenacity:RetryError: RetryError[<Future at 0x7f35dd6ae250 state=finished raised ApiException>]

I have the ping call within a try except block and the ApiException is never being raised, only the RetryError

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

No branches or pull requests

1 participant