From dd8dcbb899c27041f856ecdb633ed0aa0db6442b Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Sun, 22 Jul 2012 11:14:41 +0200 Subject: messaging: don't treat as fatal error if we cannot read from a given storage --- src/mm-iface-modem-messaging.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/mm-iface-modem-messaging.c b/src/mm-iface-modem-messaging.c index b294af93..2cc260c4 100644 --- a/src/mm-iface-modem-messaging.c +++ b/src/mm-iface-modem-messaging.c @@ -745,9 +745,10 @@ load_initial_sms_parts_ready (MMIfaceModemMessaging *self, MM_IFACE_MODEM_MESSAGING_GET_INTERFACE (self)->load_initial_sms_parts_finish (self, res, &error); if (error) { - g_simple_async_result_take_error (ctx->result, error); - enabling_context_complete_and_free (ctx); - return; + mm_dbg ("Couldn't load SMS parts from storage '%s': '%s'", + mm_sms_storage_get_string (ctx->mem1_storage_index), + error->message); + g_error_free (error); } /* Go on with the storage iteration */ -- cgit v1.2.3-70-g09d2