diff options
author | drebs <drebs@leap.se> | 2014-01-22 15:11:43 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2014-01-22 15:12:08 -0200 |
commit | 4a2c8a111470247d15a5a1771c5ddb18980f37b7 (patch) | |
tree | 828df66b2b74f2b216f1606630650f7024d5a628 /common/src/leap | |
parent | f5a5a7e3a8adfbc1f7bf450cb72cc50901dfade4 (diff) |
Improve DesignDocUnknownError error reporting.
Diffstat (limited to 'common/src/leap')
-rw-r--r-- | common/src/leap/soledad/common/couch.py | 2 |
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): |