final Collection<? extends RpcError> errors = result.getErrors();
return errors.isEmpty() ? new ActionResponse(result.getOutput(), result.getErrors())
// This is legacy (wrong) behavior, which ignores the fact that errors may be just warnings,
final Collection<? extends RpcError> errors = result.getErrors();
return errors.isEmpty() ? new ActionResponse(result.getOutput(), result.getErrors())
// This is legacy (wrong) behavior, which ignores the fact that errors may be just warnings,