Manage Runtime Error

Hi all,

my goal is to have an app without runtime error, but sometime could happen.

I’m testing the app on iPhone 6 and when a runtime erroreappears I don’t like what I see. Often there is a path of my personal folders on my PC (with the username of my personal computer), is there a way to manage the runtime error messages?

Thank you for your advices

Hi Davide,

Well, I wouldn’t worry too much about that for “production” reasons. When you produce an app build for distribution to the market, it shouldn’t contain personal information or anything that points to the computer you created/built the app from.

Of course, you really should prevent these errors from occurring. Runtime errors are crash errors, and customers will not like them. :slight_smile:

Brent

Hi Brent,

as I said my goal is have an app without crash error. But it could happen. Also Facebook sometime have a crash error  :smiley: .

In that case can I have a customize runtime errore message without personal informations?

Hi Davide,

See the “Runtime Errors” section of this guide:

http://docs.coronalabs.com/guide/basics/configSettings/index.html#debug

If you have that flag set to “true” in your config.lua file, I suggest that you set it to false before submitting the app to market. That way, users will never see any error report on screen if it crashes… it will just silently crash.

Brent

Thank you Brent, that is exactly what I was loking for.

Take care

Hi Davide,

Well, I wouldn’t worry too much about that for “production” reasons. When you produce an app build for distribution to the market, it shouldn’t contain personal information or anything that points to the computer you created/built the app from.

Of course, you really should prevent these errors from occurring. Runtime errors are crash errors, and customers will not like them. :slight_smile:

Brent

Hi Brent,

as I said my goal is have an app without crash error. But it could happen. Also Facebook sometime have a crash error  :smiley: .

In that case can I have a customize runtime errore message without personal informations?

Hi Davide,

See the “Runtime Errors” section of this guide:

http://docs.coronalabs.com/guide/basics/configSettings/index.html#debug

If you have that flag set to “true” in your config.lua file, I suggest that you set it to false before submitting the app to market. That way, users will never see any error report on screen if it crashes… it will just silently crash.

Brent

Thank you Brent, that is exactly what I was loking for.

Take care