Skip to content
This repository has been archived by the owner on Dec 20, 2019. It is now read-only.

Handle error when the connecttion to the sphero fail #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GuillaumeRahbari
Copy link

Before that, when we did "orb.connect()", if it failed it throws an error that we could not handle.

Now we are able to do "orb.on("error", function() { // Do something });". We can handle the error.

@deadprogram
Copy link
Contributor

Hi, @GuillaumeRahbari can you please look at your failing test? https://travis-ci.org/orbotix/sphero.js/jobs/102923952#L1248

Thank you!

@deadprogram
Copy link
Contributor

Hi, @GuillaumeRahbari did you ever have a chance to look into the failing test on this PR?

@GuillaumeRahbari
Copy link
Author

No I'm sorry, I will take a look as soon as I can. I can't just right now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants