Skip to content

Commit

Permalink
Lua: fix error handler messsage when DEBUG = true
Browse files Browse the repository at this point in the history
  • Loading branch information
black-sliver committed Mar 10, 2024
1 parent d7b0072 commit 6e93774
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/tracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ static int lua_error_handler(lua_State *L)
lua_pop(L, 2);
return 1;
}
lua_pop(L, 2);
}
// generate and print trace, then return original error
luaL_traceback(L, L, NULL, 1);
Expand Down

0 comments on commit 6e93774

Please sign in to comment.