Add extra data to event or message
See original GitHub issueWith raven-python we could add extra
param to captureMessage
. Now with sentry-python capture_message
does not accept extra param.
Can we add extra data to event or message ?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:13 (10 by maintainers)
Top Results From Across the Web
Is there any way of passing additional data via custom events?
Yes, you can use a MessageEvent or a CustomEvent . Example usage: //Listen for the event window.addEventListener("MyEventType", function(evt) ...
Read more >Creating and triggering events - MDN Web Docs - Mozilla
This article demonstrates how to create and dispatch DOM events. ... To add more data to the event object, the CustomEvent interface exists ......
Read more >Add custom data to events in Azure Event Hubs
This article shows you how to add custom data to events in Azure Event Hubs. ... event_data = EventData('Message with properties') ...
Read more >[GA4] Modify and create events via the user interface
In the left navigation, click Admin. · In the Property column, click Events. · Click Modify Event. · If your property has more...
Read more >Enrich Change Events with Extra Fields - Salesforce Developers
Change event messages include values for new and changed fields, but sometimes unchanged field values are needed for processing or replicating data.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thank you, I hated that I had the option to add some extra information to help me debug the warnings without writing any extra line of code. Forcing us to upgrade helped us to reap this benefit.
If I want to set a custom error message that is more specific than the one on the caught exception, do I do so by setting
scope.set_extra("message", "My custom message")
?Also, is there a way to provide raw format string style messages? https://docs.sentry.io/clientdev/interfaces/message/