From f034506958026565c450f851e1dce0c990ec8cc8 Mon Sep 17 00:00:00 2001 From: Bertrand Guiheneuf Date: Wed, 23 Feb 2000 17:21:46 +0000 Subject: Fix an exception error message. svn path=/trunk/; revision=1909 --- camel/providers/mbox/camel-mbox-utils.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/camel/providers/mbox/camel-mbox-utils.c b/camel/providers/mbox/camel-mbox-utils.c index 64fb4cb283..6a49bb869f 100644 --- a/camel/providers/mbox/camel-mbox-utils.c +++ b/camel/providers/mbox/camel-mbox-utils.c @@ -178,9 +178,11 @@ camel_mbox_copy_file_chunk (gint fd_src, } while (nb_read == -1 && errno == EINTR); if (nb_read == -1) { - camel_exception_set (ex, - CAMEL_EXCEPTION_FOLDER_INSUFFICIENT_PERMISSION, - "could read from the mbox file"); + camel_exception_setv (ex, + CAMEL_EXCEPTION_FOLDER_INSUFFICIENT_PERMISSION, + "could not read from the mbox file\n" + "Full error is : %s\n", + strerror (errno)); return; } -- cgit v1.2.3