-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
Idea: Passing lambda to tags_context and extra_context #131
Comments
Hmmm, I'm having trouble of thinking of a scenario when this would actually be useful. When would you need to do this? |
I was going to open an issue similar to this about a month ago, but subscribed to this issue instead 😀. Just a couple of scenarios: you can attach tags by section of the application (ie customer-facing or admin-facing depending on the controller) or tags by type of error (maybe grouping the errors). Specifically, one common use case we have is grouping all network-related errors and separating them from application-level errors. |
Not a lot of action here, so we won't be implementing this. PRs welcome. Somewhat related to #479. |
I just had this idea as well. My code currently runs a SQL query to add information about the user and their organization to the |
It would be nice to have a possibility to pass lambda to tags_context and extra_context to extract some information in runtime.
I think of two scenarios:
The text was updated successfully, but these errors were encountered: