Search: the server said ...

This commit is contained in:
M66B 2021-01-07 21:18:55 +01:00
parent 6ab3edf740
commit d8d233617b
1 changed files with 2 additions and 1 deletions

View File

@ -393,7 +393,8 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
if (responses.length == 0)
throw new ProtocolException("No response");
if (!responses[responses.length - 1].isOK())
throw new ProtocolException(responses[responses.length - 1]);
throw new ProtocolException(
context.getString(R.string.title_service_auth, responses[responses.length - 1]));
List<Integer> msgnums = new ArrayList<>();
for (Response response : responses)