Include full sub-messages of CommitValidationExceptions

Change-Id: I2b36af02c903c3177c491e9793756f9c153e5c18
This commit is contained in:
Dave Borowitz
2015-11-19 08:58:12 -05:00
parent 982c80de15
commit 3e9ca7e854
3 changed files with 16 additions and 3 deletions

View File

@@ -339,7 +339,7 @@ public class ChangeInserter extends BatchUpdate.InsertChangeOp {
break;
}
} catch (CommitValidationException e) {
throw new InvalidChangeOperationException(e.getMessage());
throw new InvalidChangeOperationException(e.getFullMessage());
}
}
}