Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

small change to propagate the error message #4

Merged
merged 1 commit into from

2 participants

@ant0ine

No description provided.

@stanimoto stanimoto merged commit 8974ba5 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 24, 2012
  1. @ant0ine
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  ddlockclient/__init__.py
View
2  ddlockclient/__init__.py
@@ -137,7 +137,7 @@ def _trylock(self, name):
except DDLockError, e:
self.errmsg = str(e)
except Exception, e:
- self.errmsg = "Unknown failure"
+ self.errmsg = "Unknown failure: %s" % str(e)
return lock
Something went wrong with that request. Please try again.