From 61e1ff6dd7763d37b3ebd4a094f5054010199bcd Mon Sep 17 00:00:00 2001 From: Aaron Barnes Date: Thu, 4 Feb 2016 21:49:42 +1300 Subject: [PATCH] Make UnravelError exception a little more helpful --- src/saml2/entity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/saml2/entity.py b/src/saml2/entity.py index 2f1c4d5..5367c51 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