Remove some useless sentry spans
This commit is contained in:
parent
06856adb86
commit
a093de51c4
1 changed files with 0 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue