Timer error not helpful
Jazzelhawk opened this issue · comments
Matthew Banning commented
When running something like
timer.simple(1, function() foo() end ) -- foo does not exist
The error in the console comes out normally but the hint popup comes out as:
addons/starfall/lua/starfall/instance.lua:37: in function <addons/starfall/lua/starfall/instance.lua:36> [C]: in function 'xpcall'
but should look something like this:
SF:main:4: attempt to call global 'foo' (a nil value)
Ashley Williamson commented
Sounds like a blame level too high to me.