From a093de51c4e7ef959a37b217a95b171f1e909295 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Thu, 25 Aug 2022 21:41:20 +0300 Subject: [PATCH] Remove some useless sentry spans --- bot/sync.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/bot/sync.go b/bot/sync.go index 16c1466..79cf381 100644 --- a/bot/sync.go +++ b/bot/sync.go @@ -99,8 +99,6 @@ func (b *Bot) onBotJoin(evt *event.Event, hub *sentry.Hub) { } ctx := sentry.SetHubOnContext(context.Background(), hub) - span := sentry.StartSpan(ctx, "http.server", sentry.TransactionName("onBotJoin")) - defer span.Finish() b.sendIntroduction(ctx, evt.RoomID) b.sendHelp(ctx, evt.RoomID)