lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>users of my application are calling for detailed error tracking in lua scripts. For now I just register the _ERRORMESSAGE by
>
>...
>
>Is there any way how to get also the line number in script which has caused an error?

Redefine _ALERT instead of _ERRORMESSAGE.
--lhf