diff options
Diffstat (limited to 'camel/camel-vee-folder.c')
-rw-r--r-- | camel/camel-vee-folder.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/camel/camel-vee-folder.c b/camel/camel-vee-folder.c index 7acad9729e..ef79269bd9 100644 --- a/camel/camel-vee-folder.c +++ b/camel/camel-vee-folder.c @@ -609,8 +609,13 @@ vee_sync(CamelFolder *folder, gboolean expunge, CamelException *ex) CamelFolder *f = node->data; camel_folder_sync(f, expunge, ex); - if (camel_exception_is_set(ex)) + if (camel_exception_is_set(ex)) { + char *desc; + + camel_object_get(f, NULL, CAMEL_OBJECT_DESCRIPTION, &desc, NULL); + camel_exception_setv(ex, ex->id, _("Error storing `%s': %s"), desc, ex->desc); break; + } if (expunge && vee_folder_build_folder(vf, f, ex) == -1) break; |