Fix some unhandled exception warnings

This commit is contained in:
Michael Gratton 2018-12-02 12:49:33 +11:00
parent fa5ecf0c22
commit 140ecc8839
2 changed files with 12 additions and 8 deletions

View file

@ -447,8 +447,8 @@ public class Geary.Engine : BaseObject {
* the configuration was the same.
*/
public bool update_account_service(AccountInformation account,
ServiceInformation updated) {
// Ensure account is closed.
ServiceInformation updated)
throws EngineError {
Account? impl = this.account_instances.get(account.id);
if (impl == null) {
throw new EngineError.BAD_PARAMETERS(