Skip to content

Commit

Permalink
Do not report user-facing errors to Rollbar.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-as committed Oct 30, 2024
1 parent 7d2b934 commit b18d59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/runbits/errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit b18d59a

Please sign in to comment.