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

Using xpcall to better tracebacks #9

Open
Insality opened this issue Nov 21, 2024 · 0 comments
Open

Using xpcall to better tracebacks #9

Insality opened this issue Nov 21, 2024 · 0 comments
Assignees

Comments

@Insality
Copy link
Owner

The drawbacks only that in lua 5.1 we can't pass varargs into xpcall and we need to use closure function for that

Check the performance is it worth to split logic on debug/release or platrform check to do this

But we can get a good traceback directly to the error line with that

@Insality Insality self-assigned this Nov 21, 2024
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

1 participant