commit | 0b7b639d7e80fc6ebec1b9a1406a9ec9dea919e9 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Jun 19 17:39:33 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jun 19 17:58:32 2022 +0200 |
tree | 776ec4e77e17d423f3f857d504b9e64025b46490 | |
parent | 5c143404ead89123c5ad75b2b23391d837569a94 [diff] |
MINOR: hlua: add a new hlua_show_current_location() function This function may be used to try to show where some Lua code is currently being executed. It tries hard to detect the initialization phase, both for the global and the per-thread states, and for runtime states. This intends to be used by error handlers to provide the users with indications about what Lua code was being executed when the error triggered.