VMM/mailbox: Be more detailed if doveadm couldn't create mailboxes.
--- a/VirtualMailManager/mailbox.py Thu Jan 20 00:41:09 2011 +0000
+++ b/VirtualMailManager/mailbox.py Fri Jan 28 11:03:11 2011 +0000
@@ -251,7 +251,8 @@
process = Popen(cmd_args, stdout=PIPE, stderr=PIPE)
stdout, stderr = process.communicate()
if process.returncode:
- raise VMMError(stderr.strip(), VMM_ERROR)
+ e_msg = _(u'Failed to create mailboxes: %r\n') % mailboxes
+ raise VMMError(e_msg + stderr.strip(), VMM_ERROR)
def create(self):
"""Create a dbox INBOX"""