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

Fixed #999
This commit is contained in:
彭勇升 pengys 2018-03-30 22:09:34 +08:00 committed by 吴晟 Wu Sheng
parent c84c76355b
commit bade4fd6c8
1 changed files with 1 additions and 1 deletions

View File

@ -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) {