From b18d59a3764a20b8bedbc91f349817d9767c47fe Mon Sep 17 00:00:00 2001 From: mitchell Date: Wed, 30 Oct 2024 10:16:03 -0400 Subject: [PATCH] Do not report user-facing errors to Rollbar. --- internal/runbits/errors/errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/runbits/errors/errors.go b/internal/runbits/errors/errors.go index eb7cd1c865..f60a8e138a 100644 --- a/internal/runbits/errors/errors.go +++ b/internal/runbits/errors/errors.go @@ -225,5 +225,5 @@ func ReportError(err error, cmd *captain.Command, an analytics.Dispatcher) { } func IsReportableError(err error) bool { - return !locale.IsInputError(err) && !errs.IsExternalError(err) && !errs.IsSilent(err) + return !locale.IsInputError(err) && !errs.IsExternalError(err) && !errs.IsSilent(err) && !errs.IsUserFacing(err) }