Fix compile warning
This commit is contained in:
parent
5bbb35f17c
commit
d11a5088d3
1 changed files with 14 additions and 3 deletions
|
|
@ -827,9 +827,20 @@ public class GearyController : Geary.BaseObject {
|
|||
}
|
||||
|
||||
if (handled) {
|
||||
yield this.application.engine.update_account_service(
|
||||
account, service, context.cancellable
|
||||
);
|
||||
try {
|
||||
yield this.application.engine.update_account_service(
|
||||
account, service, context.cancellable
|
||||
);
|
||||
} catch (GLib.Error err) {
|
||||
report_problem(
|
||||
new Geary.ServiceProblemReport(
|
||||
Geary.ProblemType.GENERIC_ERROR,
|
||||
account,
|
||||
service,
|
||||
err
|
||||
)
|
||||
);
|
||||
}
|
||||
} else {
|
||||
context.authentication_attempts = 0;
|
||||
context.authentication_failed = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue