Skip to content

Conversation

@Malvineous
Copy link

If you follow the sample code for the setNetworkProtocols call, it shows that the callback parameter is optional. However if the device returns an error, this function tries to call the callback anyway instead of rejecting the promise.

This patch fixes the problem by rejecting the promise in the same way that the other functions do.

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