-
Notifications
You must be signed in to change notification settings - Fork 14
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
More useful stack traces #16
Comments
What in particular could be useful from that post? |
It shows how to get to the actual functions calls, which what one wants most of the time IMO, otherwise you can't retrace what happened. At the moment, the stack trace in SentryR is created with https://github.com/EduSemensati/sentryR/blob/b4d0767736f7ebc3b4916a078c6c4d0a44d59890/R/calls.R#L12 are not as "clean". So an idea could be to replicate that blog post e.g. in the function that wraps endpoints and /or capture. I have to be honest, I haven't given this a lot of thought. Mostly because the current stack traces have been "good enough" and nobody else complained, but I'm always open to ideas :D |
I'm not sure what you mean about "getting to the actual function calls"? Isn't that what There's a few different suggestions in that blog post
At the end of the data everything is just some transformation of the output of I actually experimented a bit with The biggest problem I've had with |
I'm not sure the reason for all the differences-- perhaps something about |
https://renkun.me/2020/03/31/a-simple-way-to-show-stack-trace-on-error-in-r/
has some ideas about making stack traces more informative. could be useful for sentryR.
The text was updated successfully, but these errors were encountered: