]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: shared_mail_user_init() - Log the error when mail_namespaces_init_locati...
authorMarco Bettini <marco.bettini@open-xchange.com>
Mon, 4 Sep 2023 08:31:41 +0000 (08:31 +0000)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 6 Sep 2023 05:05:29 +0000 (05:05 +0000)
src/lib-storage/index/shared/shared-storage.c

index 1eae49cb140de930eeef69f628d37c847beee3d7..3e0337d5651e9d1f636e7f1476d0746587aa63d5 100644 (file)
@@ -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;