How can I get more error details in my released app(iOS)?

In my released app, i got the error:

bad argument #1 to ‘?’ (table expected, got nil)

stack traceback:

[C]: in function ‘?’

?: in function ‘each’

?: in function ‘onCreate’

?: in function ‘?’

?: in function ‘dispatchEvent’

?: in function ‘gotoScene’

?: in function ‘gotoScene’

?: in function ‘?’

?: in function ‘_listener’

?: in function ‘?’

?: in function <?:190>

But I don’t know which line and file this error raised from.

How can I get more error details in my released app?

https://docs.coronalabs.com/guide/distribution/advancedSettings/index.html#buildcontrol

Hi,

Add the following line to your error reporting function and it will tell you exctly which line number the error occurs.

Platform doesnt matter.

debug.getinfo(1).currentline

https://docs.coronalabs.com/guide/distribution/advancedSettings/index.html#buildcontrol

Hi,

Add the following line to your error reporting function and it will tell you exctly which line number the error occurs.

Platform doesnt matter.

debug.getinfo(1).currentline