Skip to content

Conversation

@osniel
Copy link
Contributor

@osniel osniel commented Feb 4, 2024

When a network call is made by the NodeJS SDK, if there is an error the status code is checked to reject the promise, but if the status code doesn't have any of the considered values, the promises never settles.

Added a generic error rejection to settle the promise if a network call fails for any other reason than the considered before.

@CLAassistant
Copy link

CLAassistant commented Feb 4, 2024

CLA assistant check
All committers have signed the CLA.

@jtreminio-dropbox
Copy link
Contributor

This is great, thank you.

@jtreminio-dropbox jtreminio-dropbox added bug Something isn't working SDK - Node Affects the Node SDK labels Feb 5, 2024
@jtreminio-dropbox jtreminio-dropbox merged commit 11c5781 into hellosign:main Feb 5, 2024
@osniel
Copy link
Contributor Author

osniel commented Feb 5, 2024

This is great, thank you.

You're welcome :)

@jtreminio-dropbox jtreminio-dropbox added this to the HS24SP03 milestone Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working SDK - Node Affects the Node SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants