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

polling: fix incorrect reference, error handling #9

Merged
merged 2 commits into from
May 6, 2023

Conversation

bevanjkay
Copy link
Contributor

@bevanjkay bevanjkay commented May 3, 2023

The sendCommand function expects to receive an object with an actionId parameter, which was causing the polling command to send an API with the query string undefined.
Also added a try/catch block to the polling to fix the error handling when the connection fails (the module was crashing).

Also fixes incorrect reference to get the variables in feedbacks, and now checks feedbacks with polling.

@josephdadams
Copy link
Member

Needs a package json version bump

@josephdadams josephdadams merged commit 2a0000c into bitfocus:master May 6, 2023
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