• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

I wanna handle errors, but a program I'm using makes it difficult for me (1 Viewer)

Herly Quijano

Mar 19, 2021
Reaction score
Hello, I'm using Warcraft 3 and I wanna handle better the errors, because it don't have its own event log I wanna create it myself to improve its debugging, but I have problems:
  1. It doesn't print the errors or warns unless you use "xpcall(func, print)", I can do that but it will make the errors don't stop the thread.
  2. They don't have the debug library (that's normal but don't have a substitute so I can't access to the stack trace).
Can you tell me if there is a way I can figure it out how to do it?