ProfileSearchResultsResponse
deserializator has check for error and it fills error, if it present. That filling process fills only one error
field, while there is 3 fields.
if (object.has("error")) {
result.setError(object.getAsJsonPrimitive("error").getAsString());
}
if (object.has("errorMessage")) {
result.setError(object.getAsJsonPrimitive("errorMessage").getAsString());
}
if (object.has("cause")) {
result.setError(object.getAsJsonPrimitive("cause").getAsString());
}
while it must be setError
setErrorMessage
and setCause
Can someone please check, if this still applies to 1.15.2 or the latest 1.16 development snapshot (currently that is 20w07a)?