aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-config.c5
2 files changed, 10 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 629cbb4bd8..6f955f49d4 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-09-27 Michael Meeks <michael@ximian.com>
+
+ * mail-config.c (mail_config_init): report the
+ exception on failure and abort quickly instead of hitting
+ a strange assert later.
+
2001-09-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (decode_pgp): Update to not send the
diff --git a/mail/mail-config.c b/mail/mail-config.c
index c1931fcb1a..3d30325d50 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -249,7 +249,10 @@ mail_config_init (void)
db = bonobo_get_object ("wombat:", "Bonobo/ConfigDatabase", &ev);
if (BONOBO_EX (&ev) || db == CORBA_OBJECT_NIL) {
-
+ char *err;
+ g_error ("Very serious error, cannot activate config database '%s'",
+ (err = bonobo_exception_get_text (&ev)));
+ g_free (err);
CORBA_exception_free (&ev);
return;
}