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

Handling loss of network connectivity #45

Open
ekstepj opened this issue Jan 4, 2020 · 0 comments
Open

Handling loss of network connectivity #45

ekstepj opened this issue Jan 4, 2020 · 0 comments

Comments

@ekstepj
Copy link

ekstepj commented Jan 4, 2020

I do not seem to be able to trap some errors (this on Chrome) when network connectivity is lost (or server URL is unavailable).

I am getting a simple failure in the console:
aja.min.js:1 GET http://localhost:8888/server/quote/* net::ERR_CONNECTION_REFUSED
_xhr @ aja.min.js:1
json @ aja.min.js:1
go @ aja.min.js:1
getDataList @ appdata.js:265
setupContentList @ appdata.js:70
quotesInit @ quote.js:5
initializePage @ index.html:165
(anonymous) @ index.html:158
Q.triggerElementEvent @ onsenui.min.js:2
value @ onsenui.min.js:2
(anonymous) @ onsenui.min.js:2
(anonymous) @ onsenui.min.js:2
o @ onsenui.min.js:2
i @ onsenui.min.js:2
postMessage (async)
a @ onsenui.min.js:2
a @ onsenui.min.js:2
(anonymous) @ onsenui.min.js:2
_dequeueTransition @ onsenui.min.js:2
(anonymous) @ onsenui.min.js:2
(anonymous) @ onsenui.min.js:2
_dequeueTransition @ onsenui.min.js:2
(anonymous) @ onsenui.min.js:2
(anonymous) @ onsenui.min.js:2
n @ onsenui.min.js:2

This when my server is down.

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

No branches or pull requests

1 participant