lua-users home
lua-l archive

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


Thanx! Works perfectly! :)

pta.

-----Original Message-----
From: Luiz Henrique de Figueiredo [mailto:lhf@tecgraf.puc-rio.br]
Sent: Wednesday, October 29, 2003 12:32 PM
To: lua@bazar2.conectiva.com.br
Subject: Re: LUA 4 error tracking?


>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