From 72c7ebf7958c367fa682aeb96a67c045b1eae4fe Mon Sep 17 00:00:00 2001 From: mitchell Date: Thu, 4 Jan 2024 16:28:08 -0500 Subject: [PATCH] Uninstalling in an activated state is an input error. Do not log it to Rollbar. --- internal/runners/clean/uninstall.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/runners/clean/uninstall.go b/internal/runners/clean/uninstall.go index 5aafb0cb91..7e093f452f 100644 --- a/internal/runners/clean/uninstall.go +++ b/internal/runners/clean/uninstall.go @@ -60,7 +60,7 @@ func newUninstall(out output.Outputer, prompt promptable, cfg *config.Instance, func (u *Uninstall) Run(params *UninstallParams) error { if os.Getenv(constants.ActivatedStateEnvVarName) != "" { - return locale.NewError("err_uninstall_activated") + return locale.NewInputError("err_uninstall_activated") } err := verifyInstallation()