Skip to content
Discussion options

You must be logged in to vote

Looks like I had to do this:

        try
        {
            // initialize
        }
        catch (Exception e)
        {
            using var temp = SentrySdk.Init(dsn);
            var       id = SentrySdk.CaptureException(e); // Explicitly capture the exception
            throw;
        }

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@jamescrosswell
Comment options

@Mike-E-angelo
Comment options

@jamescrosswell
Comment options

@Mike-E-angelo
Comment options

@jamescrosswell
Comment options

Answer selected by Mike-E-angelo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants