Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Need a quick bit of help from any one with Corona experience — Gideros Forum

Need a quick bit of help from any one with Corona experience

techdojotechdojo Guru
edited December 2012 in General questions
Just a quickie, as any (ex)Corona user will know trying to get decent support through their forums is a nightmare and as we seem to have lot's of (ex)Corona users on "the worlds most friendly and helpful forum"(tm) I thought I'd ask here as well.

For my sins, I'm still providing support on a Corona contract I did a while back. At some stage in the app it makes a network.request() call using a standard http GET request.
params = {}
params.timeout = 90
network.request(url, "GET", callback,params)
Occasionally (and only using 3G never WiFi) the request will fail. This is picked up and dealt with correctly in the callback, by checking the "event" parameter .isError field.

When it does fail I wanted to check the error status code by checking event.status however instead of getting a http status error code, status always appears to be nil so I have no clue as to what generated the error.

Could anyone with Corona network coding experience give me a clue as too what's going on?

Cheers
WhiteTree Games - Home, home on the web, where the bits and bytes they do play!
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill

Comments

Sign In or Register to comment.