include root-cause exception when we fail to change shard's index buffer

This commit is contained in:
Michael McCandless 2015-11-19 14:50:41 -05:00 committed by mikemccand
parent b7d4489176
commit 201318a6f5
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ public class IndexingMemoryController extends AbstractLifecycleComponent<Indexin
} catch (FlushNotAllowedEngineException e) {
// ignore
} catch (Exception e) {
logger.warn("failed to set shard {} index buffer to [{}]", shardId, shardIndexingBufferSize);
logger.warn("failed to set shard {} index buffer to [{}]", e, shardId, shardIndexingBufferSize);
}
}
}