From 9374a431b1a654c3febb38355a3f159ec4c03e81 Mon Sep 17 00:00:00 2001
From: Stephan Bosch <stephan@rename-it.nl>
Date: Thu, 23 Sep 2010 16:46:40 +0200
Subject: [PATCH] LDA Sieve plugin: turned debug message into an error and
 added script path information.

---
 src/plugins/lda-sieve/lda-sieve-plugin.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/plugins/lda-sieve/lda-sieve-plugin.c b/src/plugins/lda-sieve/lda-sieve-plugin.c
index 030033cee..cf3a0811a 100644
--- a/src/plugins/lda-sieve/lda-sieve-plugin.c
+++ b/src/plugins/lda-sieve/lda-sieve-plugin.c
@@ -159,8 +159,7 @@ static const char *lda_sieve_get_personal_path
 			/* relative path. change to absolute. */
 
 			if ( home == NULL || *home == '\0' ) {
-				if ( user->mail_debug )
-					sieve_sys_debug(svinst, "relative script path, but empty home dir");
+				sieve_sys_error(svinst, "relative script path, but empty home dir: %s", script_path);
 				return NULL;
 			}
 
-- 
GitLab