Skip to content

Fixed error handling on connection#17

Open
lmparppei wants to merge 1 commit intoScaleDrone:masterfrom
lmparppei:patch-1
Open

Fixed error handling on connection#17
lmparppei wants to merge 1 commit intoScaleDrone:masterfrom
lmparppei:patch-1

Conversation

@lmparppei
Copy link
Copy Markdown

The data object doesn't always contain client_id when connection initially succeeds but then fails at backend. This patch avoids crashes by making the unwrap optional, and calls the error handler if client ID is not present.

The data object doesn't always contain client_id when connection initially succeeds but then fails at backend. This patch avoids crashes by making the unwrap optional, and calls the error handler if client ID is not present.
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