From d2d1accf69e0cd4a58cfdbbc06a1f2eba813102a Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Fri, 3 Jan 2025 13:59:32 +0100 Subject: [PATCH] feat: removing Segment field #25 --- converter.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/converter.go b/converter.go index efe7f4d..6685c11 100644 --- a/converter.go +++ b/converter.go @@ -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: