From f3428d76be4127aa73daad3b4445a3ccddbda077 Mon Sep 17 00:00:00 2001 From: Dylan Ratcliffe Date: Fri, 19 Jul 2024 13:39:28 +0000 Subject: [PATCH] Removed sentry since they should already be captured --- cmd/tea_submitplan.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cmd/tea_submitplan.go b/cmd/tea_submitplan.go index 5c0bea7b..aa80d9ab 100644 --- a/cmd/tea_submitplan.go +++ b/cmd/tea_submitplan.go @@ -13,7 +13,6 @@ import ( "connectrpc.com/connect" tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "github.com/getsentry/sentry-go" "github.com/google/uuid" "github.com/muesli/reflow/wordwrap" "github.com/overmindtech/sdp-go" @@ -681,9 +680,6 @@ func (m submitPlanModel) submitPlanCmd() tea.Msg { m.processing <- submitPlanUpdateMsg{m.blastRadiusTask.UpdateStatusMsg(taskStatusError)} m.processing <- submitPlanUpdateMsg{m.risksError("failed to update planned changes", err)} close(m.processing) - - // TODO: Ask David about the position of these too - sentry.CaptureException(err) return nil } @@ -723,9 +719,6 @@ func (m submitPlanModel) submitPlanCmd() tea.Msg { m.processing <- submitPlanUpdateMsg{m.blastRadiusTask.UpdateStatusMsg(taskStatusError)} m.processing <- submitPlanUpdateMsg{m.risksError("error streaming results", err)} close(m.processing) - - // TODO: Ask David about the position of these too - sentry.CaptureException(err) return nil } m.processing <- submitPlanUpdateMsg{m.blastRadiusTask.FinishMsg()}