sphero.js icon indicating copy to clipboard operation
sphero.js copied to clipboard

Handle error when the connecttion to the sphero fail

Open GuillaumeRahbari opened this issue 9 years ago • 3 comments
trafficstars

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.

GuillaumeRahbari avatar Jan 17 '16 13:01 GuillaumeRahbari

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

Thank you!

deadprogram avatar Jan 18 '16 20:01 deadprogram

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

deadprogram avatar Feb 05 '16 20:02 deadprogram

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

GuillaumeRahbari avatar Feb 06 '16 13:02 GuillaumeRahbari