diff --git a/internal/commands/database/delete.go b/internal/commands/database/delete.go index 61eed719..4426b9e8 100644 --- a/internal/commands/database/delete.go +++ b/internal/commands/database/delete.go @@ -39,7 +39,7 @@ func (s *deleteCommand) Execute(exec commands.Executor, arg string) (output.Outp err := exec.All().DeleteManagedDatabase(exec.Context(), &request.DeleteManagedDatabaseRequest{UUID: arg}) if err != nil { - return commands.HandleError(exec, fmt.Sprintf("%s: failed", msg), err) + return commands.HandleError(exec, msg, err) } exec.PushProgressSuccess(msg)