summaryrefslogtreecommitdiff
path: root/common/src/leap/soledad
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2014-01-22 14:15:49 -0300
committerTomás Touceda <chiiph@leap.se>2014-01-22 14:15:49 -0300
commitea26290ed3ed3feb08c91c9a9fb567c6b05b021a (patch)
tree828df66b2b74f2b216f1606630650f7024d5a628 /common/src/leap/soledad
parentf5a5a7e3a8adfbc1f7bf450cb72cc50901dfade4 (diff)
parent4a2c8a111470247d15a5a1771c5ddb18980f37b7 (diff)
Merge remote-tracking branch 'refs/remotes/drebs/improve-design-doc-unknown-error-message' into develop
Diffstat (limited to 'common/src/leap/soledad')
-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):