Re: Overriding debug.traceback

  • From: Richard Hundt <richardhundt@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sat, 15 Mar 2014 23:25:19 +0100

On 3/15/14 9:00 PM, Ignacio Burgueño wrote:
> I think I understand what you mean, but wouldn't that only work for
> errors that occur when 'requiring' a module?​
D'oh, yeah you're right... you'd have to wrap the main chunk. Can't see
an easy way then short of creating your own executable which does the
whole lua_pcall thing with a custom error handler. Didn't think it
through, soz :(


Other related posts: