From ccbc39e676aa41b58eb946660118d01465161ed4 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Wed, 2 Jan 2008 10:53:34 +0000 Subject: [PATCH] * handle 'other' TNY_TRANSPORT_ACCOUNT_ERRORs as well, instead of asserting it cannot happen. in: ... pmo-trunk-r3970 --- src/modest-ui-actions.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 1.7.9.5