From: Marco Bettini Date: Mon, 4 Sep 2023 08:31:41 +0000 (+0000) Subject: lib-storage: shared_mail_user_init() - Log the error when mail_namespaces_init_locati... X-Git-Tag: 2.4.0~2600 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a18dace206fb60a235c483453d27bc9ef692fb84;p=thirdparty%2Fdovecot%2Fcore.git lib-storage: shared_mail_user_init() - Log the error when mail_namespaces_init_location() fails --- diff --git a/src/lib-storage/index/shared/shared-storage.c b/src/lib-storage/index/shared/shared-storage.c index 1eae49cb14..3e0337d565 100644 --- a/src/lib-storage/index/shared/shared-storage.c +++ b/src/lib-storage/index/shared/shared-storage.c @@ -373,6 +373,7 @@ shared_mail_user_init(struct mail_storage *_storage, /* We need to create a prefix="" namespace for the owner */ if (mail_namespaces_init_location(owner, str_c(location), &error) < 0) { + e_error(ns->user->event, "shared: %s: %s", new_ns->prefix, error); /* owner gets freed by namespace deinit */ mail_namespace_destroy(new_ns); return -1;