print the exception when failing to add a specific mapping during cluster state update

This commit is contained in:
kimchy 2010-07-31 15:41:11 +03:00
parent 484665af80
commit a26b4f31e1
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ public class IndicesClusterStateService extends AbstractLifecycleComponent<Indic
}
}
} catch (Exception e) {
logger.warn("[{}] failed to add mapping [{}], source [{}]", index, mappingType, mappingSource);
logger.warn("[{}] failed to add mapping [{}], source [{}]", e, index, mappingType, mappingSource);
}
}
}