aboutsummaryrefslogtreecommitdiff
path: root/error_handling.moon
diff options
context:
space:
mode:
Diffstat (limited to 'error_handling.moon')
-rw-r--r--error_handling.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/error_handling.moon b/error_handling.moon
index 3252727..23cb5ea 100644
--- a/error_handling.moon
+++ b/error_handling.moon
@@ -42,7 +42,7 @@ debug.getinfo = (thread,f,what)->
info.lastlinedefined = assert(map[info.lastlinedefined])
info.short_src = info.source\match('@([^[]*)') or info.short_src
info.name = if info.name
- "action '#{calling_fn.name\from_lua_id!}'"
+ "action '#{info.name\from_lua_id!}'"
else "main chunk"
return info