mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-09 18:43:23 +02:00
Improved search error
This commit is contained in:
@@ -459,8 +459,12 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
||||
return search(false, browsable.keywords, protocol, state);
|
||||
}
|
||||
} catch (Throwable ex) {
|
||||
ProtocolException pex = new ProtocolException(
|
||||
"Search " + account.host, ex);
|
||||
String msg;
|
||||
if (ex instanceof ProtocolException)
|
||||
msg = context.getString(R.string.title_service_auth, account.host + ": " + ex.getMessage());
|
||||
else
|
||||
msg = "Search " + account.host;
|
||||
ProtocolException pex = new ProtocolException(msg, ex);
|
||||
Log.e(pex);
|
||||
throw pex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user