better log message
This commit is contained in:
parent
3f6ed7e1de
commit
9d2fe162fa
|
@ -70,7 +70,7 @@ public class MappingUpdatedAction extends TransportMasterNodeOperationAction<Map
|
||||||
try {
|
try {
|
||||||
metaDataMappingService.updateMapping(request.index(), request.type(), request.mappingSource());
|
metaDataMappingService.updateMapping(request.index(), request.type(), request.mappingSource());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new ElasticSearchParseException("failed to parse mapping form compressed string", e);
|
throw new ElasticSearchParseException("failed to update mapping", e);
|
||||||
}
|
}
|
||||||
return new MappingUpdatedResponse();
|
return new MappingUpdatedResponse();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue