mirror of https://github.com/apache/lucene.git
c951578fca
Prior to this commit, ReplicationHandler had a few inconsistencies in how it reported errors: - Sometimes the 'status' field was used as an enum (e.g. 'success' v. 'failure'. Elsewhere it is used to hold error messages. - Sometimes an explicit 'message' field was used, but often not. - Sometimes a stack trace was provided in place of an error message. This commit tweaks the various error cases in ReplicationHandler to report errors consistently. 'status' is always an enum-type value. A 'message' field is provided for all errors, with an optional 'exception' field. |
||
---|---|---|
.. | ||
src | ||
build.xml | ||
ivy.xml |