return on failure
This commit is contained in:
parent
567cf6b5c3
commit
c04be9d365
|
@ -67,8 +67,8 @@ public class RestUpdateSettingsAction extends BaseRestHandler {
|
|||
channel.sendResponse(new XContentThrowableRestResponse(request, BAD_REQUEST, new SettingsException("Failed to parse index settings", e)));
|
||||
} catch (IOException e1) {
|
||||
logger.warn("Failed to send response", e1);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
for (Map.Entry<String, String> entry : request.params().entrySet()) {
|
||||
|
|
Loading…
Reference in New Issue