close OPENDJ-2262 CLU: manage-tasks with cancel option does not write in stderr when an error occurs
ManageTasks.java:
print ERR_TASKINFO_CANCELING_TASK to stderr instead of stdout
| | |
| | | MenuResult<TaskEntry> result = ct.invoke(app); |
| | | return result.isSuccess() ? MenuResult.<Void> success() : MenuResult.<Void> again(); |
| | | } catch (Exception e) { |
| | | app.println(ERR_TASKINFO_CANCELING_TASK.get(taskId, e.getMessage())); |
| | | app.errPrintln(ERR_TASKINFO_CANCELING_TASK.get(taskId, e.getMessage())); |
| | | return MenuResult.again(); |
| | | } |
| | | } |
| | |
| | | return MenuResult.again(); |
| | | } |
| | | } catch (Exception e) { |
| | | app.println(ERR_TASKINFO_CANCELING_TASK.get(taskId, e.getMessage())); |
| | | app.errPrintln(ERR_TASKINFO_CANCELING_TASK.get(taskId, e.getMessage())); |
| | | return MenuResult.again(); |
| | | } |
| | | } |