if (instanceName.equalsIgnoreCase("controller")) {
// TODO need to fix: ERRORS_CONTROLLER doesn't have a form of
// ../{sessionId}/{subPath}
// accessor.setProperty(PropertyType.ERRORS_CONTROLLER, record,
// statusUpdateSubPath);
accessor.setProperty(keyBuilder.controllerTaskError(statusUpdateSubPath), new Error(record));
} else {
// accessor.updateProperty(PropertyType.ERRORS,
// record,
// instanceName,
// sessionId,