Skip to content

Commit 76ba84a

Browse files
fix(.NET): Incorrect variable assignment (#5465)
Fixed incorrect variable assignment in CaptureException call back function. Co-authored-by: Philipp Hofmann <ph.hofmann@pm.me>
1 parent a1f929c commit 76ba84a

File tree

1 file changed

+1
-1
lines changed
  • src/platform-includes/enriching-events/scopes/scope-callback-param

1 file changed

+1
-1
lines changed

src/platform-includes/enriching-events/scopes/scope-callback-param/dotnet.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using Sentry;
33

44
// will be tagged with my-tag="my value"
5-
SentrySdk.CaptureException(new Exception("my error"), configureScope =>
5+
SentrySdk.CaptureException(new Exception("my error"), scope =>
66
{
77
scope.SetTag("my-tag", "my value");
88
scope.Level = SentryLevel.Warning;

0 commit comments

Comments
 (0)