summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2014-01-22 15:11:43 -0200
committerdrebs <drebs@leap.se>2014-01-22 15:12:08 -0200
commit4a2c8a111470247d15a5a1771c5ddb18980f37b7 (patch)
tree828df66b2b74f2b216f1606630650f7024d5a628
parentf5a5a7e3a8adfbc1f7bf450cb72cc50901dfade4 (diff)
Improve DesignDocUnknownError error reporting.
-rw-r--r--common/src/leap/soledad/common/couch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/leap/soledad/common/couch.py b/common/src/leap/soledad/common/couch.py
index 3ca3f408..40d64370 100644
--- a/common/src/leap/soledad/common/couch.py
+++ b/common/src/leap/soledad/common/couch.py
@@ -199,7 +199,7 @@ def raise_missing_design_doc_error(exc, ddoc_path):
elif exc.message[1] == 'deleted':
raise errors.MissingDesignDocDeletedError(path)
# other errors are unknown for now
- raise errors.DesignDocUnknownError(path)
+ raise errors.DesignDocUnknownError("%s: %s" % (path, str(exc.message)))
def raise_server_error(exc, ddoc_path):