Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always call AreYouAwake before any requests to Sparklr #111

Open
surajgoraya opened this issue Jun 15, 2014 · 4 comments
Open

Always call AreYouAwake before any requests to Sparklr #111

surajgoraya opened this issue Jun 15, 2014 · 4 comments

Comments

@surajgoraya
Copy link
Contributor

This will reduce any errors if Sparklr is down

@ChrisK91
Copy link
Contributor

We could also do proper error handling ;) I mean there are plenty of places where a connection could fail...

@Marocco2
Copy link
Member

Ok, but how we know if sparklr is down or there isn't a connection?
We need find a server who never is down.

@ChrisK91
Copy link
Contributor

Well I don't think it matters. In any way, the user will not be able to use the app... Also, if we perform an AreYouAwake call everytime, we will have twice as much API calls...

@ChrisK91
Copy link
Contributor

I'll see if I can do something in the underlying API to throw an exception that indicated that there is no connection...

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

No branches or pull requests

3 participants