From a18dace206fb60a235c483453d27bc9ef692fb84 Mon Sep 17 00:00:00 2001 From: Marco Bettini Date: Mon, 4 Sep 2023 08:31:41 +0000 Subject: [PATCH] lib-storage: shared_mail_user_init() - Log the error when mail_namespaces_init_location() fails --- src/lib-storage/index/shared/shared-storage.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.47.3