Forum General The Error handling for JS isn't working

Discussion and help relating to the PlayerIO JavaScript SDK

The Error handling for JS isn't working

Postby caprico » April 22nd, 2017, 9:18 pm

I have been trying to read from the function (error) when making the client connection. No errors.
I added a try catch around that part, now I get exceptions. If anyone else out there have the same issues, use a try catch around.
caprico
 
Posts: 3
Joined: May 24th, 2012, 10:16 pm

Re: The Error handling for JS isn't working

Postby Henrik » April 24th, 2017, 4:04 am

Thanks for the feedback, we'll get that fixed asap!
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: The Error handling for JS isn't working

Postby Henrik » May 4th, 2017, 2:08 am

Hey caprico,

Can you share with us your code and what you tried to do?

Normally, when calling PlayerIO.authenticate, all errors should end up in the error callback, and the error object it receives should have a code and a message?
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to General



cron