Skip to content

Fix action attempt poll logic#92

Merged
andrii-balitskyi merged 1 commit intomainfrom
action-attempt-poll-fix
Feb 23, 2024
Merged

Fix action attempt poll logic#92
andrii-balitskyi merged 1 commit intomainfrom
action-attempt-poll-fix

Conversation

@andrii-balitskyi
Copy link
Copy Markdown
Contributor

@andrii-balitskyi andrii-balitskyi commented Feb 20, 2024

response.data can be a status code in case of an unsuccessful response and it will throw when using in operator on a number. Also added a condition to check that action_attempt.status is pending before prompting. And finally added logging for updated action attempt to see the result of the poll.

@andrii-balitskyi andrii-balitskyi changed the title Fix action attempt poll condition Fix action attempt poll logic Feb 20, 2024
@andrii-balitskyi andrii-balitskyi merged commit 40da3a4 into main Feb 23, 2024
@andrii-balitskyi andrii-balitskyi deleted the action-attempt-poll-fix branch February 23, 2024 15:30
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