Techiio-author
Started by Bruce MccullamOct 6, 2021

Open
"Exception succesfully sent to server" event

1 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 1 VIEWES SHARE

I'm trying to understand if there's a way to know if a notification is correctly sent to the Sentry cloud. The reason is to show to the user the feedback.

I'm using this instruction:

SentryId id = SentrySdk.CaptureException(ex);

and I don't see any exception or notification fired if the notification is sent or not (eg: no internet connection) to the cloud.

1 Replies

Techiio-commentatorDebarghya Das replied 2 months ago0 likes0 dislikes

if it fails id will be equal to Guid.Empty. If it succeeded it will have a non-empty Guid. SentryId is a thin wrapper struct around Guid and has an implicit operator to Guid.

As for logging. Sentry has the concept of a Diagnostic Logger that should allow you to capture more detail on those failures

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance