Skip to content

Commit

Permalink
feat: removing Segment field #25
Browse files Browse the repository at this point in the history
  • Loading branch information
samber committed Jan 3, 2025
1 parent 9187d43 commit d2d1acc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ func attrToSentryEvent(attr slog.Attr, event *sentry.Event) {
event.User.Name = name
delete(data, "name")
}
if segment, ok := data["segment"]; ok {
event.User.Segment = segment
delete(data, "segment")
}

event.User.Data = data
case k == "request" && kind == slog.KindAny:
Expand Down

0 comments on commit d2d1acc

Please sign in to comment.