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

Handle error when the connecttion to the sphero fail#58

Open
GuillaumeRahbari wants to merge 1 commit into
sphero-inc:masterfrom
GuillaumeRahbari:master
Open

Handle error when the connecttion to the sphero fail#58
GuillaumeRahbari wants to merge 1 commit into
sphero-inc:masterfrom
GuillaumeRahbari:master

Conversation

@GuillaumeRahbari

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
Contributor

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

@GuillaumeRahbari

Copy link
Copy Markdown
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.

2 participants