return on failure

This commit is contained in:
kimchy 2011-07-12 00:34:11 +03:00
parent 567cf6b5c3
commit c04be9d365
1 changed files with 1 additions and 1 deletions

View File

@ -67,8 +67,8 @@ public class RestUpdateSettingsAction extends BaseRestHandler {
channel.sendResponse(new XContentThrowableRestResponse(request, BAD_REQUEST, new SettingsException("Failed to parse index settings", e))); channel.sendResponse(new XContentThrowableRestResponse(request, BAD_REQUEST, new SettingsException("Failed to parse index settings", e)));
} catch (IOException e1) { } catch (IOException e1) {
logger.warn("Failed to send response", e1); logger.warn("Failed to send response", e1);
return;
} }
return;
} }
} }
for (Map.Entry<String, String> entry : request.params().entrySet()) { for (Map.Entry<String, String> entry : request.params().entrySet()) {