summaryrefslogtreecommitdiff
path: root/src/saml2/entity.py
diff options
context:
space:
mode:
authorAaron Barnes <aaron@io.net.nz>2016-02-04 21:49:42 +1300
committerAaron Barnes <aaron@io.net.nz>2016-02-04 21:49:42 +1300
commit61e1ff6dd7763d37b3ebd4a094f5054010199bcd (patch)
tree9ddd751b7176f2a3480c3c199e1ab3cea9623062 /src/saml2/entity.py
parent0e4f5fa48b1965b269f69bd383bbfbde6b41ac63 (diff)
downloadpysaml2-61e1ff6dd7763d37b3ebd4a094f5054010199bcd.tar.gz
Make UnravelError exception a little more helpful
Diffstat (limited to 'src/saml2/entity.py')
-rw-r--r--src/saml2/entity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/entity.py b/src/saml2/entity.py
index 2f1c4d52..5367c518 100644
--- a/src/saml2/entity.py
+++ b/src/saml2/entity.py
@@ -394,7 +394,7 @@ class Entity(HTTPBase):
else:
xmlstr = txt
except Exception:
- raise UnravelError()
+ raise UnravelError("Unravelling binding '%s' failed" % binding)
return xmlstr