Skip to content

Commit 3a8b858

Browse files
Update src/Sentry/SentryGraphQLHttpFailedRequestHandler.cs
Co-authored-by: Stefan Pölz <38893694+Flash0ver@users.noreply.github.com>
1 parent 6692c2f commit 3a8b858

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Sentry/SentryGraphQLHttpFailedRequestHandler.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ protected internal override void DoEnsureSuccessfulResponse([NotNull] HttpReques
3636
var exception = new GraphQLHttpRequestException(errorMessage);
3737

3838
#if NET5_0_OR_GREATER
39-
// Add a full stack trace into the exception to improve Issue grouping,
40-
// see https://github.com/getsentry/sentry-dotnet/issues/3582
41-
ExceptionDispatchInfo.Throw(ExceptionDispatchInfo.SetCurrentStackTrace(exception));
39+
// Add a full stack trace into the exception to improve Issue grouping,
40+
// see https://github.com/getsentry/sentry-dotnet/issues/3582
41+
ExceptionDispatchInfo.Throw(ExceptionDispatchInfo.SetCurrentStackTrace(exception));
4242
#else
4343
// Where SetCurrentStackTrace is not available, just throw the Exception
4444
throw exception;

0 commit comments

Comments
 (0)