Permalink
Browse files

Merge pull request #4 from ant0ine/master

small change to propagate the error message
  • Loading branch information...
2 parents 60e0506 + ec6b90f commit 8974ba57299798e3918cac077b52b33600368e33 @stanimoto committed Oct 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ddlockclient/__init__.py
View
@@ -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

0 comments on commit 8974ba5

Please sign in to comment.