Skip to content

Commit

Permalink
feat(dbaas): database delete does not print error message if delete f… (
Browse files Browse the repository at this point in the history
  • Loading branch information
paketeserrano authored Jan 23, 2025
1 parent b5a8c8f commit f3091be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/commands/database/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f3091be

Please sign in to comment.