Improved logging

This commit is contained in:
M66B 2020-04-10 09:23:28 +02:00
parent 08970346ea
commit 45d81dbf7d
1 changed files with 4 additions and 1 deletions

View File

@ -437,7 +437,10 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
return state.ifolder.search(term);
}
} catch (MessagingException ex) {
throw new ProtocolException("Search", ex);
ProtocolException pex = new ProtocolException(
"Search " + account.host + " " + criteria, ex);
Log.e(pex);
throw pex;
}
}
});