feat: add Sentry error reporting

Capture command errors and panics with Sentry SDK. DSN injected
at build time via ldflags (dev builds silent, releases report).
Opt-out: UNARR_NO_TELEMETRY=1.
This commit is contained in:
Deivid Soto 2026-03-29 01:00:26 +01:00
parent 6e07e82d51
commit 3d6142a62e
7 changed files with 120 additions and 2 deletions

1
go.mod
View file

@ -8,6 +8,7 @@ require (
github.com/anacrolix/torrent v1.61.0
github.com/charmbracelet/huh v1.0.0
github.com/fatih/color v1.19.0
github.com/getsentry/sentry-go v0.44.1
github.com/google/uuid v1.6.0
github.com/gorilla/websocket v1.5.3
github.com/olekukonko/tablewriter v1.1.4