winapi
winapi copied to clipboard
Print stack trace when callback fails
Switched lua_call in call_lua_direct to lua_pcall. The error handler which is passed in will print the error and traceback, then tear down. This is in preference to crashing.
I'm new to the GitHub PRs, but gonna try to link this with the issue: fixes #30