Skip to content

Commit f3091be

Browse files
feat(dbaas): database delete does not print error message if delete f… (#357)
1 parent b5a8c8f commit f3091be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/commands/database/delete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (s *deleteCommand) Execute(exec commands.Executor, arg string) (output.Outp
3939

4040
err := exec.All().DeleteManagedDatabase(exec.Context(), &request.DeleteManagedDatabaseRequest{UUID: arg})
4141
if err != nil {
42-
return commands.HandleError(exec, fmt.Sprintf("%s: failed", msg), err)
42+
return commands.HandleError(exec, msg, err)
4343
}
4444

4545
exec.PushProgressSuccess(msg)

0 commit comments

Comments
 (0)