I'm not sure which pcall you're referencing, but I changed some because it was duplicating stack traces. One change I made in luv was that exceptions can't bubble out of event handlers and into uv.run. that was causing some nasty undefined behavior. The proper place to put the xpcall I believe is as the root of all event handlers.
On Fri, Jun 5, 2015 at 12:29 AM, Martin Croome <[email protected]> wrote: > Is there a reason why you have moved to pcall instead of xpcall in the > luvi main file. The stack trace function still seems to be in the luv code > so would there be any objection to using that? It is rather nice to get a > stack dump if things crash or does this cause problems with C boundaries > and coroutines? > > -- > You received this message because you are subscribed to the Google Groups > "luvit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "luvit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
