From f3091bebebece30320d7337c3abb5c3a0dfe445a Mon Sep 17 00:00:00 2001 From: Francisco Serrano <59340762+paketeserrano@users.noreply.github.com> Date: Thu, 23 Jan 2025 14:28:47 +0200 Subject: [PATCH] =?UTF-8?q?feat(dbaas):=20database=20delete=20does=20not?= =?UTF-8?q?=20print=20error=20message=20if=20delete=20f=E2=80=A6=20(#357)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/commands/database/delete.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/commands/database/delete.go b/internal/commands/database/delete.go index 61eed719d..4426b9e82 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)