add the exception as well to the logging

This commit is contained in:
kimchy 2011-03-21 14:36:56 +02:00
parent 6c241f3de8
commit 2f1aba962c
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ public class MetaDataUpdateSettingsService extends AbstractComponent implements
max = Integer.parseInt(sMax); max = Integer.parseInt(sMax);
} }
} catch (Exception e) { } catch (Exception e) {
logger.warn("failed to set [{}], wrong format [{}]", IndexMetaData.SETTING_AUTO_EXPAND_REPLICAS, autoExpandReplicas); logger.warn("failed to set [{}], wrong format [{}]", e, IndexMetaData.SETTING_AUTO_EXPAND_REPLICAS, autoExpandReplicas);
continue; continue;
} }