diff options
author | Aaron Barnes <aaron@io.net.nz> | 2016-02-04 21:49:42 +1300 |
---|---|---|
committer | Aaron Barnes <aaron@io.net.nz> | 2016-02-04 21:49:42 +1300 |
commit | 61e1ff6dd7763d37b3ebd4a094f5054010199bcd (patch) | |
tree | 9ddd751b7176f2a3480c3c199e1ab3cea9623062 /src/saml2/entity.py | |
parent | 0e4f5fa48b1965b269f69bd383bbfbde6b41ac63 (diff) | |
download | pysaml2-61e1ff6dd7763d37b3ebd4a094f5054010199bcd.tar.gz |
Make UnravelError exception a little more helpful
Diffstat (limited to 'src/saml2/entity.py')
-rw-r--r-- | src/saml2/entity.py | 2 |
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 |