From: Dirk-Jan C. Binnema Date: Wed, 2 Jan 2008 10:53:34 +0000 (+0000) Subject: * handle 'other' TNY_TRANSPORT_ACCOUNT_ERRORs as well, instead X-Git-Tag: git_migration_finished~1872 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=ccbc39e676aa41b58eb946660118d01465161ed4 * handle 'other' TNY_TRANSPORT_ACCOUNT_ERRORs as well, instead of asserting it cannot happen. in: ... pmo-trunk-r3970 --- diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index 43ebb6a..ad8f48d 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -5169,7 +5169,10 @@ modest_ui_actions_on_send_queue_error_happened (TnySendQueue *self, message = g_strdup (_("emev_ib_ui_smtp_send_error")); break; default: - g_return_if_reached (); + g_warning ("%s: unexpected TNY_TRANSPORT_ACCOUNT_ERROR %d", + __FUNCTION__, err->code); + message = g_strdup (_("emev_ib_ui_smtp_send_error")); + break; } /* TODO if the username or the password where not defined we