-
Notifications
You must be signed in to change notification settings - Fork 31
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
Set get frames public #41
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR requires a description.
The first thing to know here is a use case. I'm fairly sure that it's better to provide utilities for it, if it's a valid case, rather than exposing some internals from errorx
.
Maybe we adopt this exact use case? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pending an answer to the question above, marking this PR as Request changes
for now.
For monitoring tools like This is how Sentry extracts stack trace from other error libraries. While I don't think |
Im not sure how a conversion API for call stack works, can you provide an example? |
As far as I can recall, the idea was that we add an API like this:
This way, we:
|
In this PR, the second point is already addressed, so I'm generally OK with that. Just asked for an opinion on an idea. |
In our applications, we catch all errors in our webservices and our batches and create sentry issues with the errorx stacktrace.