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

Added support for stacktrace vars #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Donkie
Copy link
Contributor

@Donkie Donkie commented Jun 20, 2019

This sends all locals (including function parameters) and optionally upvalues to Sentry aswell for every stack level, which facilitates easier debugging. Both locals and upvalues can be disabled via the config options.

Upvalues are disabled by default because they can become quite many.

@Lexicality
Copy link
Owner

Do you have any idea how this affects performance? This can already be quite a slow process and I wouldn't want to nuke a server with an error in a think hook. (Though really, implementing sampling would probably fix that regardless)

@Lexicality Lexicality self-assigned this Jun 22, 2019
@Donkie
Copy link
Contributor Author

Donkie commented Jun 22, 2019

Unfortunately I haven't tested the performance of this, I can do it in a few days.

Maybe lag during spam could be combated by early on quitting for repeated errors in some clever way.

Donkie added 2 commits April 10, 2021 09:31
Sends locals and upvalues to Sentry for each stack level
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

Successfully merging this pull request may close these issues.

2 participants