aboutsummaryrefslogtreecommitdiff
path: root/error_handling.lua
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-01-19 18:27:30 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-01-19 18:27:39 -0800
commit14f3ad993ed5a216be5ac4539a40dfafbd191bf2 (patch)
tree89250c09881804c7146db9616e175604a31ce7a1 /error_handling.lua
parent3b6d3553c8509026b37769e7c49bbfa5a798d501 (diff)
Fixed bug in error handling.
Diffstat (limited to 'error_handling.lua')
-rw-r--r--error_handling.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/error_handling.lua b/error_handling.lua
index 8d6e7d9..10882fa 100644
--- a/error_handling.lua
+++ b/error_handling.lua
@@ -55,7 +55,7 @@ debug.getinfo = function(thread, f, what)
end
info.short_src = info.source:match('@([^[]*)') or info.short_src
if info.name then
- info.name = "action '" .. tostring(calling_fn.name:from_lua_id()) .. "'"
+ info.name = "action '" .. tostring(info.name:from_lua_id()) .. "'"
else
info.name = "main chunk"
end