Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timer error not helpful #358

Open
Jazzelhawk opened this issue Sep 2, 2015 · 1 comment
Open

Timer error not helpful #358

Jazzelhawk opened this issue Sep 2, 2015 · 1 comment

Comments

@Jazzelhawk
Copy link
Member

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)

@awilliamson
Copy link
Member

Sounds like a blame level too high to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants