[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Help with error handler
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 22 Oct 2001 11:15:14 -0200
>I'm trying to write user-friendly reportying of Lua error.
>want to print stack trace to the screen and also to log file.
>When using code shown below, stack trace do not saved to logfile.
>I'm sure that is because _ERRORMESSAGE does some extra formatting.
_ERRORMESSAGE does not output anything. This is the job of _ALERT. So,
try redefining _ALERT so that it writes to your log file.
--lhf