Ho can i send custom data with client.captureException()?
See original GitHub issueCREATE OR REPLACE FUNCTION public.ravenlog(a integer)
RETURNS integer
LANGUAGE 'plpythonu'
COST 100.0
VOLATILE
AS
$function$
from raven import Client
client = Client('__DSN__')
try:
1 / 0
except ZeroDivisionError as err:
client.captureException()
return a
$function$;
I want to add custom data with client.captureException() like some json data . How can i do so ? Thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Usage | Sentry Documentation
captureException (e, function(sendErr, eventId) { // This callback fires once the report has been sent to Sentry if (sendErr) { console.error("Failed to send...
Read more >dart - Sentry does not upload hints with `captureException ...
Hint is used to process the event. It doesn't get went to sentry. You can add data directly to the event. · 2....
Read more >How to use the raven.captureException function in raven - Snyk
To help you get started, we've selected a few raven.captureException examples, based on popular ways it is used in public projects.
Read more >JavaScript - Docs - Sentry Documentation
captureException (new Error("Something broke")); ... Sentry will try its best to accommodate the data you send it, ... Filter Events & Custom Logic....
Read more >Raven Documentation
is submitted to Sentry that additional data will be passed along. ... client.captureException(). 5.1.2 Reporting an Event.
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
You can pass
extra
toclient.captureException
with adict
for example.thanks man.that completely solve my problem