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.
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.