Enable users to attempt to recover from a scan error.
Report an IMAP service problem when a scan error occurs instead of an account problem, so a retry button is presented.
This commit is contained in:
parent
9ba9417d72
commit
f991fa5f46
1 changed files with 5 additions and 2 deletions
|
|
@ -3038,10 +3038,13 @@ public class GearyController : Geary.BaseObject {
|
|||
|
||||
private void on_scan_error(Geary.App.ConversationMonitor monitor, Error err) {
|
||||
// XXX determine the problem better here
|
||||
Geary.AccountInformation account =
|
||||
monitor.base_folder.account.information;
|
||||
report_problem(
|
||||
new Geary.AccountProblemReport(
|
||||
new Geary.ServiceProblemReport(
|
||||
Geary.ProblemType.GENERIC_ERROR,
|
||||
monitor.base_folder.account.information,
|
||||
account,
|
||||
account.imap,
|
||||
err
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue