Skip to content
Prev Previous commit
Next Next commit
wording
  • Loading branch information
rxlabz committed Oct 27, 2020
commit 8d5c6706754db870eb3cd2f7f0a90a5d45959b64
6 changes: 3 additions & 3 deletions dart/lib/src/scope.dart
Original file line number Diff line number Diff line change
Expand Up @@ -147,17 +147,17 @@ class Scope {
event = event.copyWith(transaction: transaction);
}

// Merge the user context.
// set the user context if none is set.
if (event.userContext == null) {
event = event.copyWith(userContext: user);
}

// Merge the scope fingerprint.
// set the scope fingerprint if none is set.
if (event.fingerprint == null) {
event = event.copyWith(fingerprint: fingerprint);
}

// Merge the scope breadcrumbs.
// set the scope breadcrumbs if none is set.
if (event.breadcrumbs == null) {
event = event.copyWith(breadcrumbs: breadcrumbs);
}
Expand Down