提交 bade4fd6 编写于 作者: 彭勇升 pengys 提交者: wu-sheng

Make the exception message with the instance id which will help us to find the bug. (#1005)

Fixed #999
上级 c84c7635
......@@ -61,7 +61,7 @@ public class InstanceHeartBeatEsPersistenceDAO extends EsDAO implements IInstanc
}
@Override public IndexRequestBuilder prepareBatchInsert(Instance data) {
throw new UnexpectedException("There is no need to merge stream data with database data.");
throw new UnexpectedException("Received an instance heart beat message under instance id= " + data.getId() + " , which doesn't exist.");
}
@Override public UpdateRequestBuilder prepareBatchUpdate(Instance data) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册